public class ObjectStreamUtils
extends java.lang.Object
| Constructor and Description |
|---|
ObjectStreamUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> ObjectStream<T> |
concatenateObjectStream(java.util.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(java.util.Collection<T> collection)
Creates an
ObjectStream form a collection. |
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(java.util.Collection<T> collection)
ObjectStream form a collection.T - collection - public static <T> ObjectStream<T> concatenateObjectStream(java.util.Collection<ObjectStream<T>> streams)
streams - @SafeVarargs public static <T> ObjectStream<T> concatenateObjectStream(ObjectStream<T>... streams)
streams - Copyright © 2010 - 2023 Adobe. All Rights Reserved