jelan.simple
Class CharTokenFactory

java.lang.Object
  extended by jelan.simple.CharTokenFactory

public class CharTokenFactory
extends java.lang.Object

Factory for generating CharToken objects ensuring that only one of any specific CharToken object is created (enforcing CharToken singleton-ness per char value)

Author:
Owen Astrachan

Constructor Summary
CharTokenFactory()
           
 
Method Summary
static CharToken getToken(int ch)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharTokenFactory

public CharTokenFactory()
Method Detail

getToken

public static CharToken getToken(int ch)