netkit.graph
Class ExpandableTokenSet

java.lang.Object
  extended by netkit.graph.TokenSet
      extended by netkit.graph.ExpandableTokenSet

public class ExpandableTokenSet
extends TokenSet

This class keeps track of valid tokens for a CATEGORICAL attribute type. This container is mutable in the sense that you can add more tokens at any time. However existing tokens cannot be changed or removed.

Author:
Kaveh R. Ghazi
See Also:
AttributeExpandableCategorical

Field Summary
 
Fields inherited from class netkit.graph.TokenSet
tokenList, tokenMap
 
Constructor Summary
ExpandableTokenSet()
           
 
Method Summary
 void add(java.lang.String token)
          Adds the supplied token to this set; duplicates are not allowed.
 
Methods inherited from class netkit.graph.TokenSet
contains, getToken, getTokens, getValue, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandableTokenSet

public ExpandableTokenSet()
Method Detail

add

public final void add(java.lang.String token)
Description copied from class: TokenSet
Adds the supplied token to this set; duplicates are not allowed.

Overrides:
add in class TokenSet
Parameters:
token - a String token to add to this container.