org.broad.igv.util.collections
Class DoubleArrayList
java.lang.Object
org.broad.igv.util.collections.DoubleArrayList
public class DoubleArrayList
- extends java.lang.Object
Author: jrobinso
Date: Jul 22, 2010
ArrayList type collection for int types. Purpose is to avoid the need to create an object for each entry
in the standard java collections.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoubleArrayList
public DoubleArrayList()
DoubleArrayList
public DoubleArrayList(int initialCapacity)
DoubleArrayList
public DoubleArrayList(double[] elements)
add
public void add(double e)
addAll
public void addAll(double[] args)
addAll
public void addAll(DoubleArrayList aList)
get
public double get(int idx)
size
public int size()
isEmpty
public boolean isEmpty()
clear
public void clear()
- Empty all elements. This logically clears the collection but does not free up any space.
toArray
public double[] toArray()
Copyright © 2007-2011 - Thomas Abeel - All Rights Reserved.