edu.washington.cs.supple.rep
Interface IntegerType
- All Superinterfaces:
- SimpleValueType, SuppleBean, SuppleType
- All Known Implementing Classes:
- IntegerTypeImpl
- public interface IntegerType
- extends SimpleValueType
- Author:
- kgajos
| Methods inherited from interface edu.washington.cs.supple.rep.SuppleType |
accept, getIndex, getIndex, getLegalValues, getLikelyValues, getLongestLegalIndex, getMaxNumLegalValues, getNumLegalValues, getNumLikelyValues, getTypicalIndexLength, getUniqueId, hasIndex, hasOrdering, hasSetLegalValues, isEnumerable, isFinalLegalValues, isLegalValue, isLegalValueClass, isPrimitiveType, orderValues, toPrettyString, verifyCurrentValue |
getMax
public int getMax()
- Returns:
- the max value
getMin
public int getMin()
- Returns:
- the min value
getIncrement
public int getIncrement()
- Returns:
- the increment
isExact
public boolean isExact()
- Returns:
- true if this type expects exact values
isBounded
public boolean isBounded()
- Checks if the type has both an upper and lower bound set
- Returns:
- true if bounded (above and below); false otherwise
getIntegerValue
public java.lang.Integer getIntegerValue(StateVar uiObject)