ref_send API 2.17
defensive programming in Java

org.joe_e
Class Token

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

public class Token
extends java.lang.Object
implements Immutable, Equatable, java.io.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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Token

public Token()

ref_send API 2.17
defensive programming in Java

Submit a bug or feature, or get help

Copyright 1998-2009 Waterken Inc. under the terms of the MIT X license.