edu.ksu.cis.projects.bogor.module.value
Interface ILongValue

All Superinterfaces:
Comparable<IValue>, Disposable, IIntegralValue, IPrimitiveValue, IValue, Serializable
All Known Implementing Classes:
DefaultLongValue

public interface ILongValue
extends IIntegralValue

Represents a long value or a ranged long value. The type of this integer value may not reflect the actual static type of the value (i.e., can be always an LongType, even though it is a ranged long 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

Method Summary
 ILongValue clone(Map<Object,Object> cloneMap)
          Override to specialize return type
 long getLong()
          Gets the long of this long value.
 
Methods inherited from interface edu.ksu.cis.projects.bogor.module.value.IValue
equals, getType, getTypeId, hashCode, toString, validate
 
Methods inherited from interface edu.ksu.cis.projects.bogor.util.Disposable
dispose
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getLong

long getLong()
Gets the long of this long value.

Returns:
The long of this long value.

clone

ILongValue 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.