/** * Retrieve an Id from a value. * * @param value Id value to get, positive and negative values are allowed, -1 is WORLD. * @return The Id with the internal value correspond to the parameter. */ public static ActionId valueOf(final int value) { if (!ActionId.LIST.containsKey(value)) { ActionId.LIST.put(value, new ActionId(value)); } return ActionId.LIST.get(value); }