Package org.epics.archiverappliance.data
Class VectorStringSampleValue
java.lang.Object
org.epics.archiverappliance.data.VectorStringSampleValue
- All Implemented Interfaces:
SampleValue,org.json.simple.JSONAware
An implementation of SampleValue for vector strings.
- Author:
- mshankar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetStringValue(int index) getValue()getValue(int index) Return the value as a ByteBuffer that is ready to read.inthashCode()toString()
-
Constructor Details
-
VectorStringSampleValue
-
-
Method Details
-
toString
- Specified by:
toStringin interfaceSampleValue- Overrides:
toStringin classObject
-
getValue
- Specified by:
getValuein interfaceSampleValue
-
getElementCount
public int getElementCount()- Specified by:
getElementCountin interfaceSampleValue
-
getValue
- Specified by:
getValuein interfaceSampleValue
-
getStringValue
- Specified by:
getStringValuein interfaceSampleValue
-
getValues
- Specified by:
getValuesin interfaceSampleValue
-
hashCode
public int hashCode() -
equals
-
toJSONString
- Specified by:
toJSONStringin interfaceorg.json.simple.JSONAware- Specified by:
toJSONStringin interfaceSampleValue
-
getValueAsBytes
Description copied from interface:SampleValueReturn the value as a ByteBuffer that is ready to read.- Specified by:
getValueAsBytesin interfaceSampleValue- Returns:
- ByteBuffer
-