org.scijava.util
Class ArrayUtils
java.lang.Object
org.scijava.util.ArrayUtils
public final class ArrayUtils
- extends Object
Utility class for creating and manipulating PrimitiveArray
instances.
- Author:
- Mark Hiner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toCollection
public static Collection<?> toCollection(Object value)
- Converts the provided Object to a
Collection
implementation. If the
object is an array type, a PrimitiveArray
wrapper will be created.
Copyright © 2009–2014 SciJava. All rights reserved.