com.timeindexing.basic
Class AID

java.lang.Object
  extended bycom.timeindexing.basic.AID
All Implemented Interfaces:
ID
Direct Known Subclasses:
SID, UID

public abstract class AID
extends java.lang.Object
implements ID

This is an abstract ID. The constructor generates an ID which cannot be changed.


Constructor Summary
AID()
           
 
Method Summary
 boolean equals(java.lang.Object other)
          Determine if two uid's are equal.
 int hashCode()
          Return a hashCode.
 java.lang.String toString()
          A default string representation of an ID.
 long value()
          Get the ID as a long value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AID

public AID()
Method Detail

value

public long value()
Get the ID as a long value.

Specified by:
value in interface ID

equals

public boolean equals(java.lang.Object other)
Determine if two uid's are equal.


hashCode

public int hashCode()
Return a hashCode. ID's with the same idValue should have the same hashcode. This is defined mostly for the benefit of the ReconstructedID subclass.


toString

public java.lang.String toString()
A default string representation of an ID. It merely prints the value of the ID.