IndexMultiple<K extends Key<Record>, Record> class

Inheritance

Constructors

IndexMultiple(K keyType, [Compare? compare])

Properties

compare Compare<Record>
latefinal
hashCode int
The hash code for this object.
no setterinherited
keys Iterable<String>
no setteroverride
keyType → K
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values Iterable<Record>
Returns all records in this index (may be more than the size of keys because each key can store multiple records)
no setteroverride

Methods

add(Record record) → 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
clear() → void
override
getByKeyStr(String key) List<Record>
override
has(String key) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(Record record) bool
Remove a record from the index
override
size(K key) int?
Return the size (length of the set) of a named index
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited