org.biojava.bio.structure.align.util
Class CollectionTools
java.lang.Object
org.biojava.bio.structure.align.util.CollectionTools
public class CollectionTools
- extends Object
Utilities for working with collections.
- Author:
- Thomas Down
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionTools
public CollectionTools()
toIntArray
public static int[] toIntArray(Collection<Number> l)
toDoubleArray
public static double[] toDoubleArray(Collection<Number> l)
randomPick
public static Object randomPick(Collection<Number> col)