public class FieldConstraints extends Object
| Constructor and Description |
|---|
FieldConstraints(Map<String,Integer> stringMapping,
Map<Integer,Integer> intMapping,
Set<SpecialChar> specialChars,
int startRange,
int endRange) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEndRange() |
Map<Integer,Integer> |
getIntMapping() |
Set<SpecialChar> |
getSpecialChars() |
int |
getStartRange() |
Map<String,Integer> |
getStringMapping() |
boolean |
isInRange(int value)
Check if given number is greater or equal to start range and minor or equal to end range
|
public int getStartRange()
public int getEndRange()
public Set<SpecialChar> getSpecialChars()
public boolean isInRange(int value)
value - - to be checkedCopyright © 2016. All rights reserved.