public class ConstantEnumeration extends AtomicDataRange
| Modifier and Type | Field and Description |
|---|---|
protected Constant[] |
m_constants |
protected static InterningManager<ConstantEnumeration> |
s_interningManager |
| Modifier | Constructor and Description |
|---|---|
protected |
ConstantEnumeration(Constant[] constants) |
| Modifier and Type | Method and Description |
|---|---|
static ConstantEnumeration |
create(Constant[] constants) |
Constant |
getConstant(int index) |
LiteralDataRange |
getNegation() |
int |
getNumberOfConstants() |
boolean |
isAlwaysFalse() |
boolean |
isAlwaysTrue() |
protected java.lang.Object |
readResolve() |
java.lang.String |
toString(Prefixes prefixes) |
isInternalDatatype, isNegatedInternalDatatypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetArityprotected final Constant[] m_constants
protected static InterningManager<ConstantEnumeration> s_interningManager
protected ConstantEnumeration(Constant[] constants)
public int getNumberOfConstants()
public Constant getConstant(int index)
public LiteralDataRange getNegation()
getNegation in class AtomicDataRangepublic boolean isAlwaysTrue()
isAlwaysTrue in class DataRangepublic boolean isAlwaysFalse()
isAlwaysFalse in class DataRangepublic java.lang.String toString(Prefixes prefixes)
toString in interface DLPredicatetoString in class DataRangeprotected java.lang.Object readResolve()
public static ConstantEnumeration create(Constant[] constants)