public class NDoubleArrayList extends Object implements NDoubleList
| Constructor and Description |
|---|
NDoubleArrayList() |
NDoubleArrayList(double[] values) |
NDoubleArrayList(double[] values,
int size) |
NDoubleArrayList(double[] values,
int offset,
int size) |
NDoubleArrayList(int initialSize) |
| Modifier and Type | Method and Description |
|---|---|
NDoubleList |
add(double value) |
NDoubleList |
add(int index,
double value) |
NDoubleList |
addAll(double... values) |
NDoubleList |
addAll(NDoubleList values) |
int |
committedSize() |
boolean |
contains(double o) |
boolean |
contains(double o,
int from) |
boolean |
contains(double o,
int from,
int to) |
NDoubleList |
copy() |
NDoubleList |
ensureSize(int size) |
String |
format(String first,
String sep,
String last) |
double |
get(int index) |
NDoubleList |
grow(int minCapacity) |
int |
indexOf(double o) |
int |
indexOf(double o,
int from) |
int |
indexOf(double o,
int from,
int to) |
NDoubleList |
insertAll(int offset,
double... values) |
int |
lastIndexOf(double o) |
int |
lastIndexOf(double o,
int from) |
int |
lastIndexOf(double o,
int from,
int to) |
double |
remove(int index) |
int |
removeAll(int offset,
int count) |
NDoubleList |
replaceSubList(int offset,
int count,
double... replacement) |
double |
set(int index,
double element) |
int |
size() |
NDoubleArrayList |
subList(int offset,
int count) |
double[] |
toArray() |
Double[] |
toDoubleArray() |
List<Double> |
toDoubleList() |
NLongArrayList |
toLongList() |
String |
toString() |
String |
toStringDebug() |
NDoubleList |
trimToSize() |
public NDoubleArrayList(int initialSize)
public NDoubleArrayList()
public NDoubleArrayList(double[] values,
int offset,
int size)
public NDoubleArrayList(double[] values)
public NDoubleArrayList(double[] values,
int size)
public NDoubleList add(int index, double value)
add in interface NDoubleListpublic int removeAll(int offset,
int count)
removeAll in interface NDoubleListoffset - count - public double remove(int index)
remove in interface NDoubleListpublic NDoubleList addAll(NDoubleList values)
addAll in interface NDoubleListpublic NDoubleList addAll(double... values)
addAll in interface NDoubleListpublic NDoubleList insertAll(int offset, double... values)
insertAll in interface NDoubleListpublic NDoubleArrayList subList(int offset, int count)
subList in interface NDoubleListpublic NDoubleList replaceSubList(int offset, int count, double... replacement)
replaceSubList in interface NDoubleListpublic NDoubleList add(double value)
add in interface NDoubleListpublic NDoubleList trimToSize()
trimToSize in interface NDoubleListpublic NDoubleList copy()
copy in interface NDoubleListpublic double[] toArray()
toArray in interface NDoubleListpublic NLongArrayList toLongList()
toLongList in interface NDoubleListpublic Double[] toDoubleArray()
toDoubleArray in interface NDoubleListpublic List<Double> toDoubleList()
toDoubleList in interface NDoubleListpublic int size()
size in interface NDoubleListpublic double get(int index)
get in interface NDoubleListpublic double set(int index,
double element)
set in interface NDoubleListpublic int indexOf(double o)
indexOf in interface NDoubleListpublic boolean contains(double o)
contains in interface NDoubleListpublic int indexOf(double o,
int from)
indexOf in interface NDoubleListpublic int indexOf(double o,
int from,
int to)
indexOf in interface NDoubleListpublic boolean contains(double o,
int from)
contains in interface NDoubleListpublic boolean contains(double o,
int from,
int to)
contains in interface NDoubleListpublic int lastIndexOf(double o)
lastIndexOf in interface NDoubleListpublic int lastIndexOf(double o,
int from)
lastIndexOf in interface NDoubleListpublic int lastIndexOf(double o,
int from,
int to)
lastIndexOf in interface NDoubleListpublic String toStringDebug()
toStringDebug in interface NDoubleListpublic int committedSize()
committedSize in interface NDoubleListpublic String format(String first, String sep, String last)
format in interface NDoubleListpublic NDoubleList grow(int minCapacity)
grow in interface NDoubleListpublic NDoubleList ensureSize(int size)
ensureSize in interface NDoubleListCopyright © 2026 vpc open source initiative. All rights reserved.