Moved regex from own module to core-java (#707)
* made changes to java reflection * removed redundant method makeSound in Animal abstract class * added project for play-framework article * added project for regex * changed regex project from own model to core-java
This commit is contained in:
committed by
Grzegorz Piwowarek
parent
e1ffd14c0d
commit
f3b8bb0f14
27
core-java/src/main/java/com/baeldung/java/regex/Result.java
Normal file
27
core-java/src/main/java/com/baeldung/java/regex/Result.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package com.baeldung.java.regex;
|
||||
|
||||
public class Result {
|
||||
private boolean found = false;
|
||||
private int count = 0;
|
||||
|
||||
public Result() {
|
||||
|
||||
}
|
||||
|
||||
public boolean isFound() {
|
||||
return found;
|
||||
}
|
||||
|
||||
public void setFound(boolean found) {
|
||||
this.found = found;
|
||||
}
|
||||
|
||||
public int getCount() {
|
||||
return count;
|
||||
}
|
||||
|
||||
public void setCount(int count) {
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user