T - type of data contained in each itempublic interface ItemCollectionSerializer<T>
Collection of Items into an octet stream.
The caller is responsible for managing (opening, closing, etc.) the output stream.| Modifier and Type | Method and Description |
|---|---|
void |
serializeCollection(Collection<Item<T>> items,
OutputStream output)
Serializes the collection of
Items to the given output stream. |
void serializeCollection(@Nonnull Collection<Item<T>> items, @Nonnull OutputStream output)
Items to the given output stream.items - Collection of Items to be serializedoutput - output stream to which the serialized form of the Item
collection will be writtenCopyright © 1999–2016. All rights reserved.