OccurrenceTrie<T extends Object> class
A prefix-sharing map from OccurrenceAddress values to values of type T.
Common address prefixes are stored once, making this more compact than a conventional map when many values belong to the same hierarchy subtree.
Constructors
Properties
Methods
-
clear(
) → void - Removes every value from this trie.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
OccurrenceAddress address) → T? -
Removes and returns the value stored at
address, if any. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
OccurrenceAddress address) → T? -
The value stored at
address, if any. -
operator []=(
OccurrenceAddress address, T value) → void -
Associates
valuewithaddress.