public class CollectionTools extends Object
Constructor and Description |
---|
CollectionTools() |
Modifier and Type | Method and Description |
---|---|
static Object |
randomPick(Collection<Number> col) |
static double[] |
toDoubleArray(Collection<Number> l) |
static int[] |
toIntArray(Collection<Number> l) |
public CollectionTools()
public static int[] toIntArray(Collection<Number> l)
public static double[] toDoubleArray(Collection<Number> l)
public static Object randomPick(Collection<Number> col)
Copyright © 2000–2019 BioJava. All rights reserved.