Class NodeRepository<T>
java.lang.Object
com.vladsch.flexmark.util.ast.NodeRepository<T>
- Direct Known Subclasses:
AbbreviationRepository, EnumeratedReferenceRepository, FootnoteRepository, MacroDefinitionRepository, ReferenceRepository, ZzzzzzRepository
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(@NotNull Object o) booleanentrySet()booleanabstract @NotNull DataKey<? extends NodeRepository<T>> getFromRaw(@NotNull CharSequence rawKey) getReferencedElements(Node parent) @NotNull Collection<T> inthashCode()booleanisEmpty()keySet()@NotNull StringnormalizeKey(@NotNull CharSequence key) voidputRawKey(@NotNull CharSequence key, T t) intsize()static <T> booleantransferReferences(@NotNull NodeRepository<T> destination, @NotNull NodeRepository<T> included, boolean onlyIfUndefined, @Nullable Map<String, String> referenceIdMap) values()protected final voidvisitNodes(@NotNull Node parent, @NotNull Consumer<Node> runnable, @NotNull Class<? extends Node>... classes) Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
nodeList
-
nodeMap
-
keepType
-
-
Constructor Details
-
NodeRepository
-
-
Method Details
-
getDataKey
-
getKeepDataKey
-
getReferencedElements
-
visitNodes
-
normalizeKey
-
getFromRaw
-
putRawKey
-
getValues
-
transferReferences
public static <T> boolean transferReferences(@NotNull @NotNull NodeRepository<T> destination, @NotNull @NotNull NodeRepository<T> included, boolean onlyIfUndefined, @Nullable @Nullable Map<String, String> referenceIdMap) -
put
-
putAll
-
remove
-
clear
-
size
-
isEmpty
-
containsKey
- Specified by:
containsKeyin interfaceMap<String,T>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,T>
-
get
-
keySet
-
values
-
entrySet
-
equals
-
hashCode
-