KeyIndex class final
Orders children by key.
Properties
-
comparator
→ Comparator<
NamedNode> -
compare as a Comparator, for sorted maps.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxPost → NamedNode
-
The post after every child.
no setteroverride
- minPost → NamedNode
-
The post before every child.
no setteroverride
- queryDefinition → String
-
The wire name of the index:
.priority,.key,.valueor the child path (a/b).no setteroverride - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compare(
NamedNode a, NamedNode b) → int -
Compares two children; ties are broken by key.
override
-
indexedValueChanged(
Node oldNode, Node newNode) → bool -
Whether the indexed value differs between
oldNodeandnewNode.override -
isDefinedOn(
Node node) → bool -
Whether
nodehas a value under this index (for example a priority).override -
makePost(
Node indexValue, ChildKey name) → NamedNode -
The post for a query bound:
indexValueundername.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
The queryDefinition, which is also the key of the index in an
IndexMap(JStoString).override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited