K - keyV - valuepublic class MapPointer<K,V extends org.semanticweb.owlapi.model.OWLAxiom> extends Object implements Internals.Pointer<K,V>, Serializable
| Constructor and Description |
|---|
MapPointer(org.semanticweb.owlapi.model.AxiomType<?> t,
org.semanticweb.owlapi.model.OWLAxiomVisitorEx<?> v,
boolean initialized,
Internals i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(K key,
V value) |
boolean |
containsKey(K key) |
Set<V> |
getAllValues() |
Set<V> |
getValues(K key) |
boolean |
hasValues(K key) |
void |
init()
init the map pointer
|
boolean |
isInitialized() |
Set<K> |
keySet() |
boolean |
put(K key,
V value) |
boolean |
remove(K key,
V value) |
int |
size() |
String |
toString() |
protected final Internals i
public MapPointer(org.semanticweb.owlapi.model.AxiomType<?> t,
org.semanticweb.owlapi.model.OWLAxiomVisitorEx<?> v,
boolean initialized,
Internals i)
t - type of axioms containedv - visitorinitialized - true if initializedi - internals containing this pointerpublic boolean isInitialized()
public void init()
public 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()
Copyright © 2014 The University of Manchester. All Rights Reserved.