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