IndexMultiple<Key extends Object, Record extends Object> class
Properties
-
compare
↔ Compare<Record>
-
latefinal
-
getKey
→ GetKey<Key, Record>
-
finalinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
keys
→ Iterable<Key>
-
no setteroverride
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
values
→ Iterable<Record>
-
Returns the total number of records in this index (may be more than
the size of
keys
because each key can store multiple records)
no setteroverride
Methods
-
add(Record row)
→ void
-
Add a row to the indexed values; if the row has already been added, this
is a no-op.
override
-
addAll(Iterable<Record> records)
→ void
-
inherited
-
getAll(Key key)
→ OrderedSet<Record>
-
Retrieve all values associated with the key, in order.
-
getOne(Key key)
→ Record?
-
override
-
has(Key key)
→ bool
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(Record row)
→ bool
-
Remove a record from the index
override
-
size(Key key)
→ int
-
Return the size (length of the set) of a named index
-
toString()
→ String
-
A string representation of this object.
inherited