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