| Modifier and Type | Field and Description |
|---|---|
protected KeepType |
keepType |
protected ArrayList<T> |
nodeList |
protected Map<String,T> |
nodeMap |
| Constructor and Description |
|---|
NodeRepository(KeepType keepType) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object o) |
boolean |
containsValue(Object o) |
Set<Map.Entry<String,T>> |
entrySet() |
boolean |
equals(Object o) |
T |
get(Object o) |
abstract DataKey<? extends NodeRepository<T>> |
getDataKey() |
T |
getFromRaw(CharSequence rawKey) |
abstract DataKey<KeepType> |
getKeepDataKey() |
abstract Set<T> |
getReferencedElements(Node parent) |
int |
hashCode() |
boolean |
isEmpty() |
Set<String> |
keySet() |
String |
normalizeKey(CharSequence key) |
T |
put(String s,
T t) |
void |
putAll(Map<? extends String,? extends T> map) |
T |
putRawKey(CharSequence key,
T t) |
T |
remove(Object o) |
int |
size() |
List<T> |
values() |
protected void |
visitNodes(Node parent,
ValueRunnable<Node> runnable,
Class<? extends Node>... classes) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected final KeepType keepType
public NodeRepository(KeepType keepType)
public abstract DataKey<? extends NodeRepository<T>> getDataKey()
protected void visitNodes(Node parent, ValueRunnable<Node> runnable, Class<? extends Node>... classes)
public String normalizeKey(CharSequence key)
public T getFromRaw(CharSequence rawKey)
public T putRawKey(CharSequence key, T t)
public boolean containsKey(Object o)
containsKey in interface Map<String,T>public boolean containsValue(Object o)
containsValue in interface Map<String,T>public boolean equals(Object o)
Copyright © 2019. All rights reserved.