no message

This commit is contained in:
2024-10-09 22:01:19 +03:00
parent 63b7f7dfd2
commit 90b5abb70f
451 changed files with 1127 additions and 886 deletions

View File

@@ -0,0 +1,34 @@
package _VisualDVM.Validators;
import Common.Utils.TextLog;
public class Validator {
protected char c;
protected int i;
protected String string_name;
protected char[] chars;
protected TextLog Log;
public Validator(String string, String string_name_in, TextLog log_in) {
string_name = string_name_in;
chars = string.toCharArray();
Log = log_in;
reset();
}
protected void reset() {
}
protected int getStartIndex() {
return 0;
}
protected boolean continueCondition() {
return true;
}
protected void Body() {
}
protected void PerformFinish() {
}
public void Validate() {
for (i = getStartIndex(); i < chars.length && continueCondition(); ++i) {
c = chars[i];
Body();
}
PerformFinish();
}
}