PathMultimap
Multimap implementation mapping paths to values of type T.
It is a multimap in the sense that multiple values may be associated with the same path. However, each entry in the multimap is represented by an id PathMultimapEntryId and the multimap allows operations on said ids.
Operations on the multimap that receive paths follow the path semantics of matching (for contains, get, and entries). This allows us to, for example, get all values matching a certain path that contains wildcards; or to have entries containing paths with wildcards in the multimap whose value will be returned when getting a path without wildcards that matches it.
Inheritors
Properties
Functions
Returns whether there exists at least one value equal to value in the multimap. Equivalent to containsValue(value).
Returns whether there exists an entry identified by entryId in the multimap. Equivalent to containsEntry(entryId).
Returns whether there exists at least one entry with a path matching path (following the semantics of path matching). Equivalent to containsPath(path).
Returns whether there exists an entry identified by entryId in the multimap.
Returns whether there exists at least one entry with a path matching path (following the semantics of path matching).
Returns whether there exists at least one value equal to value in the multimap.
Returns a sequence over all entries with a path matching path (following the semantics of path matching).
Returns the entry identified by entryId or null when no such entry exists. Equivalent to getEntry(entryId).
Returns a sequence over all values with a path matching path (following the semantics of path matching).
Returns the entry identified by entryId or null when no such entry exists.
Transforms the multimap into a mapping of paths to lists of values associated with them.