IntListPool class

Specialized pool for List

Constructors

IntListPool({int maxPoolSize = 500})

Properties

hashCode int
The hash code for this object.
no setterinherited
poolSize int
Get current pool size
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

acquire() List<int>
Acquire a list from the pool, clearing it if it was previously used
clear() → void
Clear all pooled lists
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release(List<int> list) → void
Release a list back to the pool
toString() String
A string representation of this object.
inherited

Operators

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