org.broad.igv.util.collections
Class FloatArrayList
java.lang.Object
org.broad.igv.util.collections.FloatArrayList
public class FloatArrayList
- 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 |
FloatArrayList
public FloatArrayList()
FloatArrayList
public FloatArrayList(int initialCapacity)
FloatArrayList
public FloatArrayList(float[] elements)
add
public void add(float e)
addAll
public void addAll(float[] args)
addAll
public void addAll(FloatArrayList aList)
get
public float 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 float[] toArray()
Copyright © 2007-2011 - Thomas Abeel - All Rights Reserved.