Class Pool_29_V0<StructType extends DataType>
java.lang.Object
com.ibm.j9ddr.vm29.j9.Pool<StructType>
com.ibm.j9ddr.vm29.j9.Pool_29_V0<StructType>
- All Implemented Interfaces:
 SlotIterator<StructType>, Iterator<StructType>
public class Pool_29_V0<StructType extends DataType>
extends Pool<StructType>
implements SlotIterator<StructType>
- 
Field Summary
Fields declared in class Pool
elementSize, logger, pool, structType - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected <T extends DataType>Pool_29_V0(com.ibm.j9ddr.vm29.pointer.generated.J9PoolPointer structure, Class<T> structType, boolean isInline)  - 
Method Summary
Modifier and TypeMethodDescriptionlongcapacity()Returns the total capacity of a poolbooleanhasNext()Returnstrueif the iteration has more elements.booleanincludesElement(StructType anElement) See if an element is currently allocated from a pool.iterator()Returns an iterator over the elements in the poolnext()Returns the next element in the iteration.longReturns the number of elements in a given pool.Methods declared in class Pool
fromJ9Pool, fromJ9PoolMethods declared in class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods declared in interface Iterator
forEachRemaining, remove 
- 
Constructor Details
- 
Pool_29_V0
protected <T extends DataType> Pool_29_V0(com.ibm.j9ddr.vm29.pointer.generated.J9PoolPointer structure, Class<T> structType, boolean isInline) throws CorruptDataException - Throws:
 CorruptDataException
 
 - 
 - 
Method Details
- 
includesElement
Description copied from class:PoolSee if an element is currently allocated from a pool.- Specified by:
 includesElementin classPool<StructType extends DataType>- Returns:
 - boolean - true if the element is allocated, false otherwise
 
 - 
iterator
Description copied from class:PoolReturns an iterator over the elements in the pool- Specified by:
 iteratorin classPool<StructType extends DataType>- Returns:
 - an Iterator
 
 - 
hasNext
public boolean hasNext()Description copied from interface:java.util.IteratorReturnstrueif the iteration has more elements. (In other words, returnstrueifIterator.next()would return an element rather than throwing an exception.)- Specified by:
 hasNextin interfaceIterator<StructType extends DataType>- Returns:
 trueif the iteration has more elements
 - 
next
Description copied from interface:java.util.IteratorReturns the next element in the iteration.- Specified by:
 nextin interfaceIterator<StructType extends DataType>- Returns:
 - the next element in the iteration
 
 - 
nextAddress
- Specified by:
 nextAddressin interfaceSlotIterator<StructType extends DataType>
 - 
numElements
public long numElements()Description copied from class:PoolReturns the number of elements in a given pool.- Specified by:
 numElementsin classPool<StructType extends DataType>- Returns:
 - the number of elements in the pool
 
 - 
capacity
public long capacity()Description copied from class:PoolReturns the total capacity of a pool- Specified by:
 capacityin classPool<StructType extends DataType>- Returns:
 - the capacity of the pool
 
 
 -