public class ObjectStreamUtils extends Object
| Constructor and Description | 
|---|
| ObjectStreamUtils() | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> ObjectStream<T> | concatenateObjectStream(Collection<ObjectStream<T>> streams)Creates a single concatenated ObjectStream from multiple individual
 ObjectStreams with the same type. | 
| static <T> ObjectStream<T> | concatenateObjectStream(ObjectStream<T>... streams)Creates a single concatenated ObjectStream from multiple individual
 ObjectStreams with the same type. | 
| static <T> ObjectStream<T> | createObjectStream(Collection<T> collection)Creates an  ObjectStreamform a collection. | 
| static <T> ObjectStream<T> | createObjectStream(T... array)Creates an  ObjectStreamform an array. | 
@SafeVarargs public static <T> ObjectStream<T> createObjectStream(T... array)
ObjectStream form an array.T - array - public static <T> ObjectStream<T> createObjectStream(Collection<T> collection)
ObjectStream form a collection.T - collection - public static <T> ObjectStream<T> concatenateObjectStream(Collection<ObjectStream<T>> streams)
streams - @SafeVarargs public static <T> ObjectStream<T> concatenateObjectStream(ObjectStream<T>... streams)
streams - Copyright © 2018 The Apache Software Foundation. All rights reserved.