Package com.vladsch.flexmark.util.ast
Class NodeRepository<T>
- java.lang.Object
-
- com.vladsch.flexmark.util.ast.NodeRepository<T>
-
-
Constructor Summary
Constructors Constructor Description NodeRepository(@Nullable KeepType keepType)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(@NotNull Object o)booleancontainsValue(Object o)@NotNull Set<Map.Entry<String,T>>entrySet()booleanequals(Object o)Tget(@NotNull Object o)abstract @NotNull com.vladsch.flexmark.util.data.DataKey<? extends NodeRepository<T>>getDataKey()TgetFromRaw(@NotNull CharSequence rawKey)abstract @NotNull com.vladsch.flexmark.util.data.DataKey<KeepType>getKeepDataKey()abstract @NotNull Set<T>getReferencedElements(Node parent)@NotNull Collection<T>getValues()inthashCode()booleanisEmpty()@NotNull Set<String>keySet()@NotNull StringnormalizeKey(@NotNull CharSequence key)Tput(@NotNull String s, T t)voidputAll(@NotNull Map<? extends String,? extends T> map)TputRawKey(@NotNull CharSequence key, T t)Tremove(@NotNull Object o)intsize()static <T> booleantransferReferences(@NotNull NodeRepository<T> destination, @NotNull NodeRepository<T> included, boolean onlyIfUndefined, @Nullable Map<String,String> referenceIdMap)@NotNull List<T>values()protected voidvisitNodes(@NotNull Node parent, @NotNull Consumer<Node> runnable, @NotNull Class<? extends Node>... classes)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Constructor Detail
-
NodeRepository
public NodeRepository(@Nullable @Nullable KeepType keepType)
-
-
Method Detail
-
getDataKey
@NotNull public abstract @NotNull com.vladsch.flexmark.util.data.DataKey<? extends NodeRepository<T>> getDataKey()
-
getKeepDataKey
@NotNull public abstract @NotNull com.vladsch.flexmark.util.data.DataKey<KeepType> getKeepDataKey()
-
visitNodes
@SafeVarargs protected final void visitNodes(@NotNull @NotNull Node parent, @NotNull @NotNull Consumer<Node> runnable, @NotNull @NotNull Class<? extends Node>... classes)
-
normalizeKey
@NotNull public @NotNull String normalizeKey(@NotNull @NotNull CharSequence key)
-
getFromRaw
@Nullable public T getFromRaw(@NotNull @NotNull CharSequence rawKey)
-
putRawKey
@Nullable public T putRawKey(@NotNull @NotNull CharSequence key, @NotNull T t)
-
getValues
@NotNull public @NotNull Collection<T> 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)
-
containsKey
public boolean containsKey(@NotNull @NotNull Object o)- Specified by:
containsKeyin interfaceMap<String,T>
-
containsValue
public boolean containsValue(Object o)
- Specified by:
containsValuein interfaceMap<String,T>
-
equals
public boolean equals(Object o)
-
-