nl.tudelft.goal.unreal.util
Class EnvironmentUtil
java.lang.Object
nl.tudelft.goal.unreal.util.EnvironmentUtil
public class EnvironmentUtil
- extends Object
Method Summary |
static
|
listValid(Class<E> type)
Returns a comma separated string of enum constants. |
static String |
simplefyID(cz.cuni.amis.pogamut.base.agent.IAgentId agentID)
Simplifies a given string representation of an AgentID by removing the
UUID making it human readable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnvironmentUtil
public EnvironmentUtil()
simplefyID
public static String simplefyID(cz.cuni.amis.pogamut.base.agent.IAgentId agentID)
- Simplifies a given string representation of an AgentID by removing the
UUID making it human readable.
By the specs of the agentID this should still result in a unique but
readable ID.
- Parameters:
iAgentId
-
- Returns:
- the agentID without the UUID.
listValid
public static <E extends Enum<E>> String listValid(Class<E> type)
- Returns a comma separated string of enum constants. When the enum
implements the
Key
interface the human readable version will be
used.
- Parameters:
type
-
- Returns:
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.