public final class ArrayOfStringsSummary extends Object implements UpdatableSummary<String[]>
Modifier and Type | Method and Description |
---|---|
ArrayOfStringsSummary |
copy()
Deep copy.
|
boolean |
equals(Object summary) |
String[] |
getValue() |
int |
hashCode() |
byte[] |
toByteArray()
This is to serialize a Summary instance to a byte array.
|
ArrayOfStringsSummary |
update(String[] value)
This is to provide a method of updating summaries.
|
public ArrayOfStringsSummary copy()
Summary
Caution: This must implement a deep copy.
public byte[] toByteArray()
Summary
The user should encode in the byte array its total size, which is used during deserialization, especially if the Summary has variable sized elements.
toByteArray
in interface Summary
public ArrayOfStringsSummary update(String[] value)
UpdatableSummary
update
in interface UpdatableSummary<String[]>
value
- update valuepublic String[] getValue()
Copyright © 2015–2024 The Apache Software Foundation. All rights reserved.