groovyx.gpars.extra166y
Class ParallelDoubleArray.AsList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<java.lang.Double>
groovyx.gpars.extra166y.ParallelDoubleArray.AsList
- All Implemented Interfaces:
- java.lang.Iterable<java.lang.Double>, java.util.Collection<java.lang.Double>, java.util.List<java.lang.Double>, java.util.RandomAccess
- Enclosing class:
- ParallelDoubleArray
final class ParallelDoubleArray.AsList
- extends java.util.AbstractList<java.lang.Double>
- implements java.util.RandomAccess
Fields inherited from class java.util.AbstractList |
modCount |
Method Summary |
boolean |
add(java.lang.Double e)
|
void |
add(int index,
java.lang.Double e)
|
boolean |
addAll(java.util.Collection<? extends java.lang.Double> c)
|
boolean |
addAll(int index,
java.util.Collection<? extends java.lang.Double> c)
|
void |
clear()
|
boolean |
contains(java.lang.Object o)
|
java.lang.Double |
get(int i)
|
int |
indexOf(java.lang.Object o)
|
boolean |
isEmpty()
|
java.util.Iterator<java.lang.Double> |
iterator()
|
int |
lastIndexOf(java.lang.Object o)
|
java.util.ListIterator<java.lang.Double> |
listIterator()
|
java.util.ListIterator<java.lang.Double> |
listIterator(int index)
|
java.lang.Double |
remove(int index)
|
boolean |
remove(java.lang.Object o)
|
void |
removeRange(int fromIndex,
int toIndex)
|
java.lang.Double |
set(int i,
java.lang.Double x)
|
int |
size()
|
Methods inherited from class java.util.AbstractList |
equals, hashCode, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, removeAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
containsAll, removeAll, retainAll, toArray, toArray |
ParallelDoubleArray.AsList
ParallelDoubleArray.AsList()
get
public java.lang.Double get(int i)
- Specified by:
get
in interface java.util.List<java.lang.Double>
- Specified by:
get
in class java.util.AbstractList<java.lang.Double>
set
public java.lang.Double set(int i,
java.lang.Double x)
- Specified by:
set
in interface java.util.List<java.lang.Double>
- Overrides:
set
in class java.util.AbstractList<java.lang.Double>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface java.util.Collection<java.lang.Double>
- Specified by:
isEmpty
in interface java.util.List<java.lang.Double>
- Overrides:
isEmpty
in class java.util.AbstractCollection<java.lang.Double>
size
public int size()
- Specified by:
size
in interface java.util.Collection<java.lang.Double>
- Specified by:
size
in interface java.util.List<java.lang.Double>
- Specified by:
size
in class java.util.AbstractCollection<java.lang.Double>
iterator
public java.util.Iterator<java.lang.Double> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<java.lang.Double>
- Specified by:
iterator
in interface java.util.Collection<java.lang.Double>
- Specified by:
iterator
in interface java.util.List<java.lang.Double>
- Overrides:
iterator
in class java.util.AbstractList<java.lang.Double>
listIterator
public java.util.ListIterator<java.lang.Double> listIterator()
- Specified by:
listIterator
in interface java.util.List<java.lang.Double>
- Overrides:
listIterator
in class java.util.AbstractList<java.lang.Double>
listIterator
public java.util.ListIterator<java.lang.Double> listIterator(int index)
- Specified by:
listIterator
in interface java.util.List<java.lang.Double>
- Overrides:
listIterator
in class java.util.AbstractList<java.lang.Double>
add
public boolean add(java.lang.Double e)
- Specified by:
add
in interface java.util.Collection<java.lang.Double>
- Specified by:
add
in interface java.util.List<java.lang.Double>
- Overrides:
add
in class java.util.AbstractList<java.lang.Double>
add
public void add(int index,
java.lang.Double e)
- Specified by:
add
in interface java.util.List<java.lang.Double>
- Overrides:
add
in class java.util.AbstractList<java.lang.Double>
addAll
public boolean addAll(java.util.Collection<? extends java.lang.Double> c)
- Specified by:
addAll
in interface java.util.Collection<java.lang.Double>
- Specified by:
addAll
in interface java.util.List<java.lang.Double>
- Overrides:
addAll
in class java.util.AbstractCollection<java.lang.Double>
addAll
public boolean addAll(int index,
java.util.Collection<? extends java.lang.Double> c)
- Specified by:
addAll
in interface java.util.List<java.lang.Double>
- Overrides:
addAll
in class java.util.AbstractList<java.lang.Double>
clear
public void clear()
- Specified by:
clear
in interface java.util.Collection<java.lang.Double>
- Specified by:
clear
in interface java.util.List<java.lang.Double>
- Overrides:
clear
in class java.util.AbstractList<java.lang.Double>
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interface java.util.Collection<java.lang.Double>
- Specified by:
remove
in interface java.util.List<java.lang.Double>
- Overrides:
remove
in class java.util.AbstractCollection<java.lang.Double>
remove
public java.lang.Double remove(int index)
- Specified by:
remove
in interface java.util.List<java.lang.Double>
- Overrides:
remove
in class java.util.AbstractList<java.lang.Double>
removeRange
public void removeRange(int fromIndex,
int toIndex)
- Overrides:
removeRange
in class java.util.AbstractList<java.lang.Double>
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains
in interface java.util.Collection<java.lang.Double>
- Specified by:
contains
in interface java.util.List<java.lang.Double>
- Overrides:
contains
in class java.util.AbstractCollection<java.lang.Double>
indexOf
public int indexOf(java.lang.Object o)
- Specified by:
indexOf
in interface java.util.List<java.lang.Double>
- Overrides:
indexOf
in class java.util.AbstractList<java.lang.Double>
lastIndexOf
public int lastIndexOf(java.lang.Object o)
- Specified by:
lastIndexOf
in interface java.util.List<java.lang.Double>
- Overrides:
lastIndexOf
in class java.util.AbstractList<java.lang.Double>