All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class edu.vt.marian.common.ClassID

java.lang.Object
   |
   +----edu.vt.marian.common.ClassID

public class ClassID
extends Object
A subclass of Object for ClassIDs. We will also continue to use ints for ClassIDs when it suits our fancy.

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.

See Also:
ClassIDs, FullID

Constructor Index

 o ClassID(int)

Method Index

 o intValue()
 o isValid()

Constructors

 o ClassID
 public ClassID(int c)

Methods

 o isValid
 public boolean isValid()
 o intValue
 public int intValue()

All Packages  Class Hierarchy  This Package  Previous  Next  Index