public final class EnumConstant extends Object
public static <T extends Enum<?>> T get(Class<T> clazz, int position, T defaultValue)
T - the type of the Enumclazz - Class defining the Enum to read fromposition - the position of the constant in the value-arraydefaultValue - the default value to return if no constant was foundCopyright © 2016 SAPERION AG. All rights reserved.