org.jboss.forge.container.util
Class Enums
java.lang.Object
org.jboss.forge.container.util.Enums
public class Enums
- extends Object
Utility methods for enum types.
- Author:
- Lincoln Baxter, III
|
Constructor Summary |
Enums()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Enums
public Enums()
valueOf
public static Enum<?> valueOf(Class<?> type,
Object value)
hasValue
public static boolean hasValue(Class<?> type,
Object value)
getValues
public static <T extends Enum<T>> List<T> getValues(Class<T> type)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.