CollectionWindowState<Item extends TransferObjectBase<Id> , Id> class
Constructors
-
CollectionWindowState(int length, int windowOffset, List<
OrderedData< window)Item> >
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ Iterable<
Item> -
no setter
- length → int
-
The total length of the collection.
final
- lowerBound → int
-
Window order bound.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- upperBound → int
-
Window order bound.
final
-
window
→ List<
OrderedData< Item> > -
The current window of the collection.
final
- windowLength → int
-
The current windows size.
no setter
- windowOffset → int
-
The current windows offset inside the collection.
final
Methods
-
add(
int collectionLength, List< OrderedData< elements) → CollectionWindowState<Item> >Item, Id> -
align(
int length, int offset) → CollectionWindowState< Item, Id> -
isInWindow(
int order) → bool -
mutate(
CollectionWindowEvent< Item, Id> event) → CollectionWindowState<Item, Id> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
int collectionLength, Id id) → CollectionWindowState< Item, Id> -
toString(
) → String -
A string representation of this object.
inherited
-
update(
OrderedData< Item> element) → CollectionWindowState<Item, Id>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited