![JAR search and dependency download from the Maven repository](/logo.png)
com.ibm.icu.impl.number.parse.RequireNumberValidator Maven / Gradle / Ivy
// © 2017 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
package com.ibm.icu.impl.number.parse;
/**
* @author sffc
*
*/
public class RequireNumberValidator extends ValidationMatcher {
@Override
public void postProcess(ParsedNumber result) {
// Require that a number is matched.
if (!result.seenNumber()) {
result.flags |= ParsedNumber.FLAG_FAIL;
}
}
@Override
public String toString() {
return "";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy