@Internal @ThreadSafe public class ManyToManyIndex<K,V> extends Object
Constructor and Description |
---|
ManyToManyIndex() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
@NotNull Map<V,Set<K>> |
getBackwardMapping()
You need to synchronize on this object if using this method.
|
@NotNull Set<V> |
getByKey(K key) |
@NotNull Set<K> |
getByValue(V value) |
@NotNull Map<K,Set<V>> |
getForwardMapping()
You need to synchronize on this object if using this method.
|
void |
index(K key,
V value) |
@Nullable Set<V> |
removeByKey(K key) |
@Nullable Set<K> |
removeByValue(V value) |
@NotNull public @NotNull Map<K,Set<V>> getForwardMapping()
@NotNull public @NotNull Map<V,Set<K>> getBackwardMapping()
public void clear()
Copyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.