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 void
add(double o)
void
add(int index, double element)
void
clear()
Object
clone()
boolean
contains(double elem)
void
ensureCapacity(int minCapacity)
double
get(int index)
int
indexOf(double elem)
boolean
isEmpty()
int
lastIndexOf(double elem)
double
remove(int index)
protected void
removeRange(int fromIndex, int toIndex)
double
set(int index, double element)
int
size()
double[]
toArray()
double[]
toArray(double[] a)
void
trimToSize()
-
-
-
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)
-
-