cz.cuni.amis.pogamut.ut2004.communication.messages
Class UnrealIdTranslator

java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.communication.messages.UnrealIdTranslator

public class UnrealIdTranslator
extends java.lang.Object

Translator String UnrealID <-> Int UnrealId.

It holds maps for translating string UnrealID into int id, every new string UnrealID is given a unique number and returned.


Constructor Summary
UnrealIdTranslator()
           
 
Method Summary
 UnrealId getId(java.lang.String unrealId)
          Returns UnrealId object for a specified string, creates a new one if none exists.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnrealIdTranslator

public UnrealIdTranslator()
Method Detail

getId

public UnrealId getId(java.lang.String unrealId)
Returns UnrealId object for a specified string, creates a new one if none exists.

Parameters:
unrealId -
Returns: