forked from Speiger/Primitive-Collections
Got the If switched up.
This commit is contained in:
parent
500514fb20
commit
5ea1e3c358
|
@ -213,11 +213,12 @@ public class ENUM_MAP KEY_ENUM_VALUE_GENERIC_TYPE extends ABSTRACT_MAP KEY_VALUE
|
||||||
onNodeRemoved(index);
|
onNodeRemoved(index);
|
||||||
}
|
}
|
||||||
protected boolean isSet(int index) { return (present[index >> 6] & (1L << index)) != 0; }
|
protected boolean isSet(int index) { return (present[index >> 6] & (1L << index)) != 0; }
|
||||||
private static <K extends Enum<K>> K[] getKeyUniverse(Class<K> keyType) {
|
|
||||||
|
private static <K extends Enum<K>> K[] getKeyUniverse(Class<K> keyType) {
|
||||||
#if UNSAVE_ENUM
|
#if UNSAVE_ENUM
|
||||||
return keyType.getEnumConstants();
|
return SharedSecrets.getJavaLangAccess().getEnumConstantsShared(keyType);
|
||||||
#else
|
#else
|
||||||
return SharedSecrets.getJavaLangAccess().getEnumConstantsShared(keyType);
|
return keyType.getEnumConstants();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue