Uses of Interface
net.sourceforge.pmd.util.DataMap.DataKey
Packages that use DataMap.DataKey
Package
Description
Language-independent framework to represent code metrics.
-
Uses of DataMap.DataKey in net.sourceforge.pmd.lang.ast
Methods in net.sourceforge.pmd.lang.ast that return types with arguments of type DataMap.DataKeyModifier and TypeMethodDescriptionDataMap<DataMap.DataKey<?, ?>> AstInfo.getUserMap()Returns a data map used to store additional information on this ast info.DataMap<DataMap.DataKey<?, ?>> Node.getUserMap()Returns a data map used to store additional information on this node. -
Uses of DataMap.DataKey in net.sourceforge.pmd.lang.ast.impl
Methods in net.sourceforge.pmd.lang.ast.impl that return types with arguments of type DataMap.DataKey -
Uses of DataMap.DataKey in net.sourceforge.pmd.lang.ast.impl.antlr4
Methods in net.sourceforge.pmd.lang.ast.impl.antlr4 that return types with arguments of type DataMap.DataKey -
Uses of DataMap.DataKey in net.sourceforge.pmd.lang.metrics
Subinterfaces of DataMap.DataKey in net.sourceforge.pmd.lang.metrics -
Uses of DataMap.DataKey in net.sourceforge.pmd.util
Classes in net.sourceforge.pmd.util with type parameters of type DataMap.DataKeyModifier and TypeInterfaceDescriptionstatic interfaceDataMap.DataKey<K extends DataMap.DataKey<K,T>, T> A key for type-safe access into aDataMap.Classes in net.sourceforge.pmd.util that implement DataMap.DataKeyMethods in net.sourceforge.pmd.util with parameters of type DataMap.DataKeyModifier and TypeMethodDescription<T> TDataMap.compute(DataMap.DataKey<? extends K, T> key, Function<? super @Nullable T, ? extends T> function) Create or replace a mapping with a value computed from the current value (or null if missing).<T> TDataMap.computeIfAbsent(DataMap.DataKey<? extends K, T> key, Supplier<? extends T> supplier) Retrieve the value, or compute it if it is missing.<T> @Nullable TDataMap.get(DataMap.DataKey<? extends K, ? extends T> key) Retrieves the data currently mapped to the key.<T> TDataMap.getOrDefault(DataMap.DataKey<? extends K, ? extends T> key, T defaultValue) booleanDataMap.isSet(DataMap.DataKey<? extends K, ?> key) Returns true if the given key has a non-null value in the map.<T> TDataMap.merge(DataMap.DataKey<? extends K, T> key, T value, BiFunction<? super @NonNull T, ? super T, ? extends T> function) <T> @Nullable TDataMap.set(DataMap.DataKey<? extends K, ? super T> key, T data) Set the mapping to the given data.