ObjectPool<E> class
abstract
Constructors
- ObjectPool(Function builder, [int size = 32])
Properties
- allocatedCount → int
-
no setter
- builder → Function
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
final
Methods
-
allocate(
) → E? -
fill(
Queue< E> data) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
release(
E entry) → void -
reset(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited