cz.cuni.pogamut.Parser
Class UnrealIDMap

java.lang.Object
  extended by cz.cuni.pogamut.Parser.UnrealIDMap
All Implemented Interfaces:
TranslateUnrealID2IntID

public class UnrealIDMap
extends java.lang.Object
implements TranslateUnrealID2IntID

Class which takes care of UnrealID -> IntId mapping. Note that this may be shared by many parsers therefore the main method tranlateUnrealID2IntID() is synchronized on this class.


Field Summary
private  java.util.HashMap<java.lang.String,java.lang.Integer> map
           
 
Constructor Summary
UnrealIDMap()
           
 
Method Summary
 int translateUnrealID2IntID(java.lang.String unrealID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

private java.util.HashMap<java.lang.String,java.lang.Integer> map
Constructor Detail

UnrealIDMap

public UnrealIDMap()
Method Detail

translateUnrealID2IntID

public int translateUnrealID2IntID(java.lang.String unrealID)
Specified by:
translateUnrealID2IntID in interface TranslateUnrealID2IntID