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 booleanequals(Object obj)voidforEach(Consumer<? super org.openjdk.jmc.flightrecorder.writer.ConstantPool> action)org.openjdk.jmc.flightrecorder.writer.ConstantPoolforType(TypeImpl type)Get the ConstantPool instance associated with the given typeinthashCode()Iterator<org.openjdk.jmc.flightrecorder.writer.ConstantPool>iterator()intsize()Spliterator<org.openjdk.jmc.flightrecorder.writer.ConstantPool>spliterator()StringtoString()
-
-
-
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:
spliteratorin interfaceIterable<org.openjdk.jmc.flightrecorder.writer.ConstantPool>
-
-