public class LongValidator extends Object implements IValidator<Long>
Long.| Modifier and Type | Field and Description | 
|---|---|
| static IValidator<Long> | DEFAULTAllows all values. | 
| static IValidator<Long> | GT_ZEROOnly allows positive values (GT ZERO). | 
| static IValidator<Long> | GTE_ZEROOnly allows non-negative values (GTE ZERO). | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | LongValidator() | 
public static final transient IValidator<Long> DEFAULT
public static final transient IValidator<Long> GTE_ZERO
public static final transient IValidator<Long> GT_ZERO
public Long parse(String key, String val)
IValidatorparse in interface IValidator<Long>key - The key.val - The value.public void accept(String key, String val, Long arg) throws ConfigurationException
accept in interface IValidator<Long>key - The key under which the value was discovered.val - The value.arg - The parsed value.ConfigurationExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.