getPoolCount method

int getPoolCount()

Returns the number of objects remaining in the pool, for diagnostic purposes.

@return The number of objects remaining in the pool.

Implementation

int getPoolCount() {
  return this.objectsPointer + 1;
}