lexx.trie
Class CharMap

java.lang.Object
  |
  +--lexx.trie.CharMap
All Implemented Interfaces:
CharMapBase, java.lang.Cloneable, java.io.Serializable

public final class CharMap
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable, CharMapBase

ArrayList Character Map simular to java.util.HashMap

but instead of Strings it just uses characters

All data is stored in memory

Copyright (c) 2002-2003

Since:
18/02/2003
Version:
1.0
Author:
Mohammed Imran
See Also:
Serialized Form

Constructor Summary
CharMap()
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.Object get(char character)
           
 java.util.Iterator iterator()
           
 void put(char character, java.lang.Object obj)
           
 int size()
           
 java.lang.Object[] toArray()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharMap

public CharMap()
Method Detail

clone

public final java.lang.Object clone()
Specified by:
clone in interface CharMapBase
Overrides:
clone in class java.lang.Object

size

public final int size()
Specified by:
size in interface CharMapBase

toArray

public final java.lang.Object[] toArray()
Specified by:
toArray in interface CharMapBase

put

public final void put(char character,
                      java.lang.Object obj)
Specified by:
put in interface CharMapBase

get

public final java.lang.Object get(char character)
Specified by:
get in interface CharMapBase

iterator

public final java.util.Iterator iterator()
Specified by:
iterator in interface CharMapBase