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
public static class ConstantPool.ConstValue_Pair extends ConstantPool.ConstValue
ConstValue A (typed) tagged value in the constant pool.
-
-
Field Summary
-
Fields inherited from class org.openjdk.asmtools.jasm.ConstantPool.ConstValue
isSet, tag
-
-
Constructor Summary
Constructors Constructor Description ConstValue_Pair(Tables.ConstType tag, ConstantPool.ConstCell left, ConstantPool.ConstCell right)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
_hashCode()
boolean
equals(java.lang.Object obj)
Compares this object to the specified object.java.lang.String
toString()
void
write(CheckedDataOutputStream out)
-
Methods inherited from class org.openjdk.asmtools.jasm.ConstantPool.ConstValue
_toString, hashCode, hasValue, size
-
-
-
-
Constructor Detail
-
ConstValue_Pair
public ConstValue_Pair(Tables.ConstType tag, ConstantPool.ConstCell left, ConstantPool.ConstCell right)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
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
public java.lang.String toString()
- Overrides:
toString
in classConstantPool.ConstValue
-
_hashCode
protected int _hashCode()
- Overrides:
_hashCode
in classConstantPool.ConstValue
-
write
public void write(CheckedDataOutputStream out) throws java.io.IOException
- Overrides:
write
in classConstantPool.ConstValue
- Throws:
java.io.IOException
-
-