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 protectedTypedValueImpl(TypedValueImpl other, long cpIndex)TypedValueImpl(TypeImpl type, Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<TypedFieldValueImpl>getFieldValues()TypeImplgetType()ObjectgetValue()inthashCode()booleanisNull()StringtoString()
-
-
-
Constructor Detail
-
TypedValueImpl
protected TypedValueImpl(TypedValueImpl other, long cpIndex)
-
-
Method Detail
-
getType
public TypeImpl getType()
- Specified by:
getTypein interfaceTypedValue- Returns:
- the type
-
getValue
public Object getValue()
- Specified by:
getValuein interfaceTypedValue- Returns:
- the wrapped value
-
isNull
public boolean isNull()
- Specified by:
isNullin interfaceTypedValue- Returns:
- true if this holds null value
-
getFieldValues
public List<TypedFieldValueImpl> getFieldValues()
- Specified by:
getFieldValuesin interfaceTypedValue- Returns:
- the field values structure
-
-