opennlp.tools.util
Class ObjectStreamUtils
java.lang.Object
opennlp.tools.util.ObjectStreamUtils
public class ObjectStreamUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectStreamUtils
public ObjectStreamUtils()
createObjectStream
public static <T> ObjectStream<T> createObjectStream(T... array)
- Creates an
ObjectStream
form an array.
- Type Parameters:
T
- - Parameters:
array
-
- Returns:
createObjectStream
public static <T> ObjectStream<T> createObjectStream(Collection<T> collection)
- Creates an
ObjectStream
form a collection.
- Type Parameters:
T
- - Parameters:
collection
-
- Returns:
Copyright © 2010. All Rights Reserved.