gate.creole.morph
Class CharMap

java.lang.Object
  extended by gate.creole.morph.CharMap

public class CharMap
extends Object


Field Summary
private  char[] adjitemsKeys
           
private  FSMState[] adjitemsObjs
           
private  char[] itemsKeys
           
private  FSMState[] itemsObjs
           
 
Constructor Summary
CharMap()
           
 
Method Summary
 FSMState get(char key, byte type)
          get the object from the map using the char key
 char[] getAdjitemsKeys()
           
 char[] getItemsKeys()
           
 FSMState put(char key, FSMState value, byte type)
          put the object into the char map using the chat as the key
private  void resizeADJ(int index)
          resize the containers by one leavaing empty elemant at position 'index'
private  void resizeCHILD(int index)
          resize the containers by one leavaing empty elemant at position 'index'
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

itemsKeys

private char[] itemsKeys

itemsObjs

private FSMState[] itemsObjs

adjitemsKeys

private char[] adjitemsKeys

adjitemsObjs

private FSMState[] adjitemsObjs
Constructor Detail

CharMap

public CharMap()
Method Detail

resizeCHILD

private void resizeCHILD(int index)
resize the containers by one leavaing empty elemant at position 'index'


resizeADJ

private void resizeADJ(int index)
resize the containers by one leavaing empty elemant at position 'index'


get

public FSMState get(char key,
                    byte type)
get the object from the map using the char key


put

public FSMState put(char key,
                    FSMState value,
                    byte type)
put the object into the char map using the chat as the key


getItemsKeys

public char[] getItemsKeys()

getAdjitemsKeys

public char[] getAdjitemsKeys()