gu.dtalk.NumberValidator Maven / Gradle / Ivy
The newest version!
package gu.dtalk;
import com.google.common.base.Predicate;
import com.google.common.base.Predicates;
import com.google.common.collect.Iterables;
import com.google.common.collect.Sets;
import static com.google.common.base.Preconditions.*;
import java.util.Arrays;
import java.util.Collection;
import java.util.Comparator;
import java.util.Iterator;
import java.util.LinkedHashSet;
/**
* 数值验证器
* @author guyadong
*
* @param 数据类型,必须{@link Number}的子类
*/
public class NumberValidator implements Predicate {
public static final NumberValidator
© 2015 - 2025 Weber Informatics LLC | Privacy Policy