Class EnumeratedValues
- java.lang.Object
-
- org.apache.manifoldcf.crawler.interfaces.EnumeratedValues
-
public class EnumeratedValues extends java.lang.Object
This class represents a set of enumerated integer values.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_rcsid
protected java.util.HashMap
legalValues
-
Constructor Summary
Constructors Constructor Description EnumeratedValues(int[] values)
Create enumerated values.EnumeratedValues(java.lang.String commaList)
Create for comma-separated list.EnumeratedValues(java.lang.String[] values)
Create from a list of semicolon-separated strings.EnumeratedValues(java.util.ArrayList values)
Create from arraylist.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkValue(int value)
java.util.Iterator
getValues()
int
size()
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
legalValues
protected java.util.HashMap legalValues
-
-
Constructor Detail
-
EnumeratedValues
public EnumeratedValues(int[] values)
Create enumerated values.- Parameters:
values
- is the set of legal values.
-
EnumeratedValues
public EnumeratedValues(java.util.ArrayList values)
Create from arraylist.- Parameters:
values
- is the arraylist.
-
EnumeratedValues
public EnumeratedValues(java.lang.String[] values)
Create from a list of semicolon-separated strings.- Parameters:
values
- are the values, as strings
-
EnumeratedValues
public EnumeratedValues(java.lang.String commaList)
Create for comma-separated list.
-
-