Skip to content

Commit f3b8bb0

Browse files
Egima profilepivovarit
authored andcommitted
Moved regex from own module to core-java (eugenp#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
1 parent e1ffd14 commit f3b8bb0

2 files changed

Lines changed: 530 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
package com.baeldung.java.regex;
2+
3+
public class Result {
4+
private boolean found = false;
5+
private int count = 0;
6+
7+
public Result() {
8+
9+
}
10+
11+
public boolean isFound() {
12+
return found;
13+
}
14+
15+
public void setFound(boolean found) {
16+
this.found = found;
17+
}
18+
19+
public int getCount() {
20+
return count;
21+
}
22+
23+
public void setCount(int count) {
24+
this.count = count;
25+
}
26+
27+
}

0 commit comments

Comments
 (0)