info.aduna.gee.publication.session
Class OpaqueCLabel

java.lang.Object
  extended by info.aduna.gee.publication.session.OpaqueCLabel
All Implemented Interfaces:
Comparable

public class OpaqueCLabel
extends Object
implements Comparable

This is again a class of immutables!


Field Summary
protected static Hashtable _internedOpaqueCLabels
           
 String label
           
static OpaqueCLabel[] NONE
           
 
Method Summary
 int compareTo(Object other)
           
static OpaqueCLabel create(String pureLabel)
           
 boolean equals(Object other)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_internedOpaqueCLabels

protected static Hashtable _internedOpaqueCLabels

NONE

public static final OpaqueCLabel[] NONE

label

public String label
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object
Returns:
a hash code value for the object.

equals

public boolean equals(Object other)
Overrides:
equals in class Object
Returns:
true if this object is the same as the 'other' argument; false otherwise.

compareTo

public int compareTo(Object other)
Specified by:
compareTo in interface Comparable

create

public static OpaqueCLabel create(String pureLabel)
Parameters:
pureLabel - the label


Copyright © 1997-2008 Aduna. All Rights Reserved.