| Constructor and Description |
|---|
NodeMap(Graph graph) |
NodeMap(NodeMap<T> copyFrom) |
| Modifier and Type | Method and Description |
|---|---|
int |
capacity() |
void |
clear() |
boolean |
containsKey(Node node) |
boolean |
containsValue(Object value) |
T |
get(Node node) |
T |
getAndGrow(Node node) |
org.graalvm.collections.MapCursor<Node,T> |
getEntries() |
protected Node |
getKey(int i) |
Iterable<Node> |
getKeys() |
Iterable<T> |
getValues() |
Graph |
graph() |
boolean |
isEmpty() |
boolean |
isNew(Node node) |
T |
put(Node key,
T value) |
T |
removeKey(Node key) |
void |
replaceAll(BiFunction<? super Node,? super T,? extends T> function) |
void |
set(Node node,
T value) |
void |
setAndGrow(Node node,
T value) |
int |
size() |
String |
toString() |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected Object[] values
public T get(Node node)
get in interface org.graalvm.collections.UnmodifiableEconomicMap<K,V>public boolean isEmpty()
isEmpty in interface org.graalvm.collections.UnmodifiableEconomicMap<K,V>public boolean containsKey(Node node)
containsKey in interface org.graalvm.collections.UnmodifiableEconomicMap<K,V>public boolean containsValue(Object value)
public Graph graph()
protected Node getKey(int i)
i - ipublic int size()
size in interface org.graalvm.collections.UnmodifiableEconomicMap<K,V>public int capacity()
public boolean isNew(Node node)
public void clear()
public Iterable<Node> getKeys()
getKeys in interface org.graalvm.collections.UnmodifiableEconomicMap<K,V>public Iterable<T> getValues()
getValues in interface org.graalvm.collections.UnmodifiableEconomicMap<K,V>