facets.util.treecode
Class TreeCoded.Label

java.lang.Object
  extended by facets.util.treecode.TreeCoded.Label
Enclosing class:
TreeCoded

public static final class TreeCoded.Label
extends java.lang.Object

Identifies a TreeCoded.

As well as carrying general-purpose text, a TreeCoded.Label can identify either the TreeCoded that returns it, or another to be referenced within a TreeCodeContext.


Field Summary
static TreeCoded.Label NONE
           
 java.lang.String text
           
 
Method Summary
 boolean equals(java.lang.Object that)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final TreeCoded.Label NONE

text

public final java.lang.String text
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object