edu.ksu.cis.projects.bogor.module.value
Interface IIntValue
- All Superinterfaces:
- Comparable<IValue>, Disposable, IIntegralValue, IPrimitiveValue, IValue, Serializable
- All Known Implementing Classes:
- DefaultIntValue
public interface IIntValue
- extends IIntegralValue
Represents a boolean, integer, or ranged integer value.
The type of this integer value may not reflect the actual static type of
the value (i.e., can be always an IntType
, even though it is
a boolean or a ranged int type. In order to get the actual static type,
always use the context static type which can be retrieved from the symbol
table.
- Version:
- CVS $Revision: 1.2 $ $Date: 2005/06/06 19:15:31 $
- Author:
- Robby
getInteger
int getInteger()
- Gets the integer of this integer value.
- Returns:
- The integer of this integer value.
clone
IIntValue clone(Map<Object,Object> cloneMap)
- Override to specialize return type
- Specified by:
clone
in interface IIntegralValue
- Specified by:
clone
in interface IPrimitiveValue
- Specified by:
clone
in interface IValue
- Parameters:
cloneMap
- Original values (IValue
) to their clones (
IValue
) mapping. The clone map to solve
circular references in values. If this value is a key in the
map, then this method returns the value of the key in the map.
Must be non-null.
- Returns:
- The clone of this value. Non-null.