Class ArrayOfStringsSummary
java.lang.Object
org.apache.datasketches.tuple.strings.ArrayOfStringsSummary
- All Implemented Interfaces:
Summary
,UpdatableSummary<String[]>
- Author:
- Lee Rhodes
-
Method Details
-
copy
Description copied from interface:Summary
Deep copy.Caution: This must implement a deep copy.
-
toByteArray
public byte[] toByteArray()Description copied from interface:Summary
This is to serialize a Summary instance to a byte array.The user should encode in the byte array its total size, which is used during deserialization, especially if the Summary has variable sized elements.
- Specified by:
toByteArray
in interfaceSummary
- Returns:
- serialized representation of the Summary
-
update
Description copied from interface:UpdatableSummary
This is to provide a method of updating summaries. This is primarily used internally.- Specified by:
update
in interfaceUpdatableSummary<String[]>
- Parameters:
value
- update value- Returns:
- this
-
hashCode
public int hashCode() -
equals
-
getValue
- Returns:
- the nodes array for this summary.
-