Class ConstantPools
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.writer.ConstantPools
-
-
Constructor Summary
Constructors Constructor Description ConstantPools()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
void
forEach(Consumer<? super org.openjdk.jmc.flightrecorder.writer.ConstantPool> action)
org.openjdk.jmc.flightrecorder.writer.ConstantPool
forType(TypeImpl type)
Get the ConstantPool instance associated with the given typeint
hashCode()
Iterator<org.openjdk.jmc.flightrecorder.writer.ConstantPool>
iterator()
int
size()
Spliterator<org.openjdk.jmc.flightrecorder.writer.ConstantPool>
spliterator()
String
toString()
-
-
-
Method Detail
-
forType
public org.openjdk.jmc.flightrecorder.writer.ConstantPool forType(TypeImpl type)
Get the ConstantPool instance associated with the given type- Parameters:
type
- the type to get the constant pool for- Returns:
- the associated ConstantPool instance
- Throws:
IllegalArgumentException
- if the type does not support constant pools
-
size
public int size()
-
iterator
public Iterator<org.openjdk.jmc.flightrecorder.writer.ConstantPool> iterator()
-
forEach
public void forEach(Consumer<? super org.openjdk.jmc.flightrecorder.writer.ConstantPool> action)
-
spliterator
public Spliterator<org.openjdk.jmc.flightrecorder.writer.ConstantPool> spliterator()
- Specified by:
spliterator
in interfaceIterable<org.openjdk.jmc.flightrecorder.writer.ConstantPool>
-
-