Class TypedValueImpl
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.writer.TypedValueImpl
-
- All Implemented Interfaces:
TypedValue
public final class TypedValueImpl extends Object implements TypedValue
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TypedValueImpl(TypedValueImpl other, long cpIndex)
TypedValueImpl(TypeImpl type, Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
List<TypedFieldValueImpl>
getFieldValues()
TypeImpl
getType()
Object
getValue()
int
hashCode()
boolean
isNull()
String
toString()
-
-
-
Constructor Detail
-
TypedValueImpl
protected TypedValueImpl(TypedValueImpl other, long cpIndex)
-
-
Method Detail
-
getType
public TypeImpl getType()
- Specified by:
getType
in interfaceTypedValue
- Returns:
- the type
-
getValue
public Object getValue()
- Specified by:
getValue
in interfaceTypedValue
- Returns:
- the wrapped value
-
isNull
public boolean isNull()
- Specified by:
isNull
in interfaceTypedValue
- Returns:
- true if this holds null value
-
getFieldValues
public List<TypedFieldValueImpl> getFieldValues()
- Specified by:
getFieldValues
in interfaceTypedValue
- Returns:
- the field values structure
-
-