K - key typeV - value typepublic interface Index<K,V>
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<V> |
find(K key)
Finds all values indexed by the given key.
|
void |
forEachValue(Consumer<V> consumer)
Iterates over each value indexed by this index.
|
java.util.Set<K> |
getKeys()
Retrieves the set of all keys.
|