| Modifier and Type | Field and Description |
|---|---|
protected KeepType |
keepType |
protected ArrayList<T> |
nodeList |
protected Map<String,T> |
nodeMap |
| Constructor and Description |
|---|
NodeRepository(@Nullable KeepType keepType) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(@NotNull Object o) |
boolean |
containsValue(Object o) |
@NotNull Set<Map.Entry<String,T>> |
entrySet() |
boolean |
equals(Object o) |
T |
get(@NotNull Object o) |
abstract @NotNull com.vladsch.flexmark.util.data.DataKey<? extends NodeRepository<T>> |
getDataKey() |
T |
getFromRaw(@NotNull CharSequence rawKey) |
abstract @NotNull com.vladsch.flexmark.util.data.DataKey<KeepType> |
getKeepDataKey() |
abstract @NotNull Set<T> |
getReferencedElements(Node parent) |
@NotNull Collection<T> |
getValues() |
int |
hashCode() |
boolean |
isEmpty() |
@NotNull Set<String> |
keySet() |
@NotNull String |
normalizeKey(@NotNull CharSequence key) |
T |
put(@NotNull String s,
T t) |
void |
putAll(@NotNull Map<? extends String,? extends T> map) |
T |
putRawKey(@NotNull CharSequence key,
T t) |
T |
remove(@NotNull Object o) |
int |
size() |
static <T> boolean |
transferReferences(@NotNull NodeRepository<T> destination,
@NotNull NodeRepository<T> included,
boolean onlyIfUndefined,
@Nullable Map<String,String> referenceIdMap) |
@NotNull List<T> |
values() |
protected void |
visitNodes(@NotNull Node parent,
@NotNull Consumer<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(@Nullable
@Nullable KeepType keepType)
@NotNull public abstract @NotNull com.vladsch.flexmark.util.data.DataKey<? extends NodeRepository<T>> getDataKey()
@NotNull public abstract @NotNull com.vladsch.flexmark.util.data.DataKey<KeepType> getKeepDataKey()
@SafeVarargs protected final void visitNodes(@NotNull @NotNull Node parent, @NotNull @NotNull Consumer<Node> runnable, @NotNull Class<? extends Node>... classes)
@NotNull public @NotNull String normalizeKey(@NotNull @NotNull CharSequence key)
@Nullable public T getFromRaw(@NotNull @NotNull CharSequence rawKey)
@Nullable public T putRawKey(@NotNull @NotNull CharSequence key, @NotNull T t)
@NotNull public @NotNull Collection<T> getValues()
public static <T> boolean transferReferences(@NotNull
@NotNull NodeRepository<T> destination,
@NotNull
@NotNull NodeRepository<T> included,
boolean onlyIfUndefined,
@Nullable
@Nullable Map<String,String> referenceIdMap)
public boolean containsKey(@NotNull
@NotNull 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 © 2020. All rights reserved.