public abstract class BaseNDArrayList<X extends Number> extends AbstractList<X>
Modifier and Type | Field and Description |
---|---|
protected INDArray |
container |
protected int |
size |
modCount
Modifier and Type | Method and Description |
---|---|
void |
add(int i,
X aX) |
boolean |
add(X aX) |
boolean |
addAll(Collection<? extends X> collection) |
boolean |
addAll(int i,
Collection<? extends X> collection) |
INDArray |
array()
Get a view of the underlying array
relative to the size of the actual array.
|
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> collection) |
X |
get(int i) |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<X> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<X> |
listIterator() |
ListIterator<X> |
listIterator(int i) |
X |
remove(int i) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> collection) |
boolean |
retainAll(Collection<?> collection) |
X |
set(int i,
X aX) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] ts) |
String |
toString() |
equals, hashCode, removeRange, subList
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
replaceAll, sort, spliterator
parallelStream, removeIf, stream
protected INDArray container
protected int size
public INDArray array()
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
public <T> T[] toArray(T[] ts)
public boolean add(X aX)
public boolean remove(Object o)
public boolean containsAll(Collection<?> collection)
containsAll
in interface Collection<X extends Number>
containsAll
in interface List<X extends Number>
containsAll
in class AbstractCollection<X extends Number>
public boolean addAll(Collection<? extends X> collection)
public boolean addAll(int i, Collection<? extends X> collection)
public boolean removeAll(Collection<?> collection)
public boolean retainAll(Collection<?> collection)
public void clear()
public X get(int i)
public void add(int i, X aX)
public X remove(int i)
public int indexOf(Object o)
public int lastIndexOf(Object o)
lastIndexOf
in interface List<X extends Number>
lastIndexOf
in class AbstractList<X extends Number>
public ListIterator<X> listIterator()
listIterator
in interface List<X extends Number>
listIterator
in class AbstractList<X extends Number>
public ListIterator<X> listIterator(int i)
listIterator
in interface List<X extends Number>
listIterator
in class AbstractList<X extends Number>
public String toString()
toString
in class AbstractCollection<X extends Number>
Copyright © 2020. All rights reserved.