Package org.openjdk.asmtools.jasm
Class ConstantPool.ConstValue_Pair
java.lang.Object
org.openjdk.asmtools.jasm.ConstantPool.ConstValue
org.openjdk.asmtools.jasm.ConstantPool.ConstValue_Pair
- Enclosing class:
- ConstantPool
ConstValue
A (typed) tagged value in the constant pool.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) ConstantPool.ConstCell
(package private) ConstantPool.ConstCell
Fields inherited from class org.openjdk.asmtools.jasm.ConstantPool.ConstValue
isSet, tag
-
Constructor Summary
ConstructorsConstructorDescriptionConstValue_Pair
(Tables.ConstType tag, ConstantPool.ConstCell left, ConstantPool.ConstCell right) -
Method Summary
Methods inherited from class org.openjdk.asmtools.jasm.ConstantPool.ConstValue
_toString, hashCode, hasValue, size
-
Field Details
-
left
-
right
ConstantPool.ConstCell right
-
-
Constructor Details
-
ConstValue_Pair
public ConstValue_Pair(Tables.ConstType tag, ConstantPool.ConstCell left, ConstantPool.ConstCell right)
-
-
Method Details
-
equals
Description copied from class:ConstantPool.ConstValue
Compares this object to the specified object. Sub-classes must override this- Overrides:
equals
in classConstantPool.ConstValue
- Parameters:
obj
- the object to compare with- Returns:
- true if the objects are the same; false otherwise.
-
toString
- Overrides:
toString
in classConstantPool.ConstValue
-
_hashCode
protected int _hashCode()- Overrides:
_hashCode
in classConstantPool.ConstValue
-
write
- Overrides:
write
in classConstantPool.ConstValue
- Throws:
IOException
-