| Constructor and Description |
|---|
EnumIndex(Class<V> enumType,
Function<? super V,K> keyExtractor) |
| Modifier and Type | Method and Description |
|---|---|
Optional<V> |
find(K key) |
V |
get(K key) |
com.google.common.collect.ImmutableSet<V> |
getAllPresent(Collection<K> keys) |
com.google.common.collect.ImmutableSet<K> |
getUnmappedKeys(Collection<K> keys) |
static <E extends Enum<E>> |
toImmutableEnumSet() |
public V get(K key) throws UnmappedKeyException
UnmappedKeyExceptionpublic com.google.common.collect.ImmutableSet<K> getUnmappedKeys(Collection<K> keys)
public com.google.common.collect.ImmutableSet<V> getAllPresent(Collection<K> keys)
Copyright © 2019. All rights reserved.