Package com.intellij.util.containers
Class DoubleArrayList
- java.lang.Object
-
- com.intellij.util.containers.DoubleArrayList
-
-
Constructor Summary
Constructors Constructor Description DoubleArrayList()DoubleArrayList(int initialCapacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(double o)voidadd(int index, double element)voidclear()Objectclone()booleancontains(double elem)voidensureCapacity(int minCapacity)doubleget(int index)intindexOf(double elem)booleanisEmpty()intlastIndexOf(double elem)doubleremove(int index)protected voidremoveRange(int fromIndex, int toIndex)doubleset(int index, double element)intsize()double[]toArray()double[]toArray(double[] a)voidtrimToSize()
-
-
-
Method Detail
-
trimToSize
public void trimToSize()
-
ensureCapacity
public void ensureCapacity(int minCapacity)
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(double elem)
-
indexOf
public int indexOf(double elem)
-
lastIndexOf
public int lastIndexOf(double elem)
-
toArray
public double[] toArray()
-
toArray
public double[] toArray(double[] a)
-
get
public double get(int index)
-
set
public double set(int index, double element)
-
add
public void add(double o)
-
add
public void add(int index, double element)
-
remove
public double remove(int index)
-
clear
public void clear()
-
removeRange
protected void removeRange(int fromIndex, int toIndex)
-
-