| Modifier and Type | Method and Description |
|---|---|
static <E extends Enum<E>> |
isKnownCode(Class<E> type,
String code)
Checks if the given code is contained in the Enumeration.
|
public static <E extends Enum<E>> boolean isKnownCode(Class<E> type, String code)
Checks if the given code is contained in the Enumeration.
<E> - type - the typecode - the codeCopyright © 2014-2016 Konik.io. All Rights Reserved.