K - keyV - valuepublic class MapPointer<K,V extends OWLAxiom> extends Object
| Constructor and Description |
|---|
MapPointer(AxiomType<?> t,
OWLAxiomVisitorEx<?> v,
boolean initialized,
Internals i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(K key,
V value) |
boolean |
containsKey(K key) |
boolean |
containsReference(IRI e) |
boolean |
containsReference(K e) |
<T> Collection<OWLAxiom> |
filterAxioms(OWLAxiomSearchFilter filter,
T key) |
List<V> |
getAllValues() |
List<V> |
getValues(K key) |
boolean |
hasValues(K key) |
MapPointer<K,V> |
init() |
boolean |
isEmpty() |
boolean |
isInitialized() |
List<K> |
keySet() |
boolean |
put(K key,
V value) |
boolean |
remove(K key,
V value) |
int |
size() |
String |
toString() |
void |
trimToSize()
Trim internal map to size.
|
public boolean containsReference(K e)
e - entitypublic boolean containsReference(IRI e)
e - IRIpublic boolean isInitialized()
public MapPointer<K,V> init()
@Nonnull public <T> Collection<OWLAxiom> filterAxioms(@Nonnull OWLAxiomSearchFilter filter, @Nonnull T key)
T - type of keyfilter - filter to satisfykey - keypublic boolean hasValues(K key)
key - key to look uppublic boolean put(K key, V value)
key - key to addvalue - value to addpublic boolean remove(K key, V value)
key - key to look upvalue - value to removepublic boolean containsKey(K key)
key - key to look uppublic boolean contains(K key, V value)
key - key to look upvalue - value to look uppublic int size()
public boolean isEmpty()
public void trimToSize()
Copyright © 2020 The University of Manchester. All rights reserved.