QuiltTileForceFeeder<T> class

A force-feeding variant of QuiltTileFaucet for static lists.

Sorts and feeds a predefined feed list on first past pull, ideal for offline or fixed datasets in testing Carpet layouts.

Inheritance

Constructors

QuiltTileForceFeeder({required List<T> feed, required DateTime getTime(T), required String getID(T), required double getAspect(T)})
Constructs a force feeder with static feed and required getters.

Properties

buffer List<T>
finalinherited
constantFuture bool
finalinherited
constantPast bool
finalinherited
fed bool
getter/setter pair
feed List<T>
final
futureCursor DateTime?
Gets the future cursor from the buffer's first item.
no setterinherited
getAspect double Function(T)
finalinherited
getID String Function(T)
finalinherited
getTime DateTime Function(T)
finalinherited
hashCode int
The hash code for this object.
no setterinherited
hasReachedEndOfPast bool
no setterinherited
hasReachedStartOfFuture bool
no setterinherited
isBusy bool
no setterinherited
onPullFuture Future<List<T>> Function(int max, DateTime? futureCursor)
finalinherited
onPullPast Future<List<T>> Function(int max, DateTime? pastCursor)
finalinherited
pastCursor DateTime?
Gets the past cursor from the buffer's last item.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

doPullPast(int i, DateTime? c) Future<List<T>>
Internal hook for past pulls, allowing overrides like in QuiltTileForceFeeder.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pullFuture(int count) Future<void>
Pulls future tiles up to count, inserting at buffer start.
inherited
pullPast(int count) Future<void>
Pulls past tiles up to count, appending to buffer.
inherited
toString() String
A string representation of this object.
inherited

Operators

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