Pool class

For pooling objects that can be reused.

Implementers

Constructors

Pool()

Properties

hashCode int
The hash code for this object.
no setterinherited
objects List
he objects array.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Object
The type of the objects.
getter/setter pair

Methods

constructObject() Vec3
Construct an object. Should be implemented in each subclass.
get() → dynamic
Get an object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release([List? args]) Pool
Release an object after use
resize(num size) Pool
@return Self, for chaining
toString() String
A string representation of this object.
inherited

Operators

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