All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----edu.vt.marian.common.ClassID
The identifier of an object in the MARIAN universe is composed of class id and instance id. Class id can be regarded as database id and instance id can be regarded as a unique id in that database.
NOTE: classID is properly an unsigned 16-bit quantity; instanceID an unsigned 32-bit. Unfortunately there are no unsigneds in Java, so we use an int for classID and test the bounds. Properly, we should use a long for instanceID, but that's a lot of unused bits so we'll use an int and keep our fingers crossed.
public ClassID(int c)
public boolean isValid()intValue
public int intValue()
All Packages Class Hierarchy This Package Previous Next Index