org.joe_e
Class Token

java.lang.Object
  extended by org.joe_e.Token
All Implemented Interfaces:
Serializable, Equatable, Immutable

public class Token
extends Object
implements Immutable, Equatable, Serializable

Content-less class used solely for its unforgeable object identity. Distinct categories of tokens can be created by subclassing this class.

Note: this class implements Serializable in order to avoid preventing trusted (non-Joe-E) code from serializing it. The Java Serialization API is tamed away as unsafe, and thus is not available to Joe-E code.

See Also:
Serialized Form

Constructor Summary
Token()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Token

public Token()