ref_send API 2.17
defensive programming in Java

Class Token

  extended by org.joe_e.Token
All Implemented Interfaces:, Equatable, Immutable

public class Token
extends java.lang.Object
implements Immutable, Equatable,

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
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


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.