public class FastDoubleArrayTable
extends java.lang.Object
implements java.lang.Cloneable, java.util.RandomAccess, java.io.Serializable
FastArrayTable for the double primitive data type.| Constructor | Description |
|---|---|
FastDoubleArrayTable() |
|
FastDoubleArrayTable(double[] src) |
|
FastDoubleArrayTable(int initialCapacity) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
add(double value) |
|
void |
add(int index,
double element) |
|
boolean |
addAll(double[] a) |
|
boolean |
addAll(FastDoubleArrayTable c) |
|
boolean |
addAll(int index,
double[] a) |
|
boolean |
addAll(int index,
FastDoubleArrayTable c) |
|
void |
clear() |
|
FastDoubleArrayTable |
clone() |
|
boolean |
contains(double v) |
|
boolean |
delete(double value) |
|
void |
ensureCapacity(int min) |
|
boolean |
equals(java.lang.Object o) |
|
double |
get(int index) |
|
int |
hashCode() |
Double.hashCode(): (int)(bits ^ (bits >>> 32))
|
int |
indexOf(double v) |
|
boolean |
isEmpty() |
|
int |
lastIndexOf(double v) |
|
double |
remove(int index) |
|
protected void |
removeRange(int from,
int to) |
|
double |
set(int index,
double value) |
|
int |
size() |
|
double[] |
toArray() |
|
java.lang.String |
toString() |
|
void |
trimToSize() |
public FastDoubleArrayTable()
public FastDoubleArrayTable(int initialCapacity)
public FastDoubleArrayTable(double[] src)
public void trimToSize()
public void ensureCapacity(int min)
public int size()
public boolean isEmpty()
public boolean contains(double v)
public int indexOf(double v)
public int lastIndexOf(double v)
public FastDoubleArrayTable clone() throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic double[] toArray()
public double get(int index)
public double set(int index,
double value)
public boolean add(double value)
public void add(int index,
double element)
public double remove(int index)
public boolean delete(double value)
public void clear()
public boolean addAll(double[] a)
public boolean addAll(FastDoubleArrayTable c)
public boolean addAll(int index,
double[] a)
public boolean addAll(int index,
FastDoubleArrayTable c)
protected void removeRange(int from,
int to)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005 - 2009 Javolution.