groovyx.gpars.extra166y
Class ParallelArray.AsList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<T>
          extended by groovyx.gpars.extra166y.ParallelArray.AsList
All Implemented Interfaces:
java.lang.Iterable<T>, java.util.Collection<T>, java.util.List<T>, java.util.RandomAccess
Enclosing class:
ParallelArray<T>

final class ParallelArray.AsList
extends java.util.AbstractList<T>
implements java.util.RandomAccess


Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ParallelArray.AsList()
           
 
Method Summary
 void add(int index, T e)
           
 boolean add(T e)
           
 boolean addAll(java.util.Collection<? extends T> c)
           
 boolean addAll(int index, java.util.Collection<? extends T> c)
           
 void clear()
           
 boolean contains(java.lang.Object o)
           
 T get(int i)
           
 int indexOf(java.lang.Object o)
           
 boolean isEmpty()
           
 java.util.Iterator<T> iterator()
           
 int lastIndexOf(java.lang.Object o)
           
 java.util.ListIterator<T> listIterator()
           
 java.util.ListIterator<T> listIterator(int index)
           
 T remove(int index)
           
 boolean remove(java.lang.Object o)
           
 void removeRange(int fromIndex, int toIndex)
           
 T set(int i, T x)
           
 int size()
           
 java.lang.Object[] toArray()
           
<V> V[]
toArray(V[] a)
           
 
Methods inherited from class java.util.AbstractList
equals, hashCode, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, 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
 

Constructor Detail

ParallelArray.AsList

ParallelArray.AsList()
Method Detail

get

public T get(int i)
Specified by:
get in interface java.util.List<T>
Specified by:
get in class java.util.AbstractList<T>

set

public T set(int i,
             T x)
Specified by:
set in interface java.util.List<T>
Overrides:
set in class java.util.AbstractList<T>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Collection<T>
Specified by:
isEmpty in interface java.util.List<T>
Overrides:
isEmpty in class java.util.AbstractCollection<T>

size

public int size()
Specified by:
size in interface java.util.Collection<T>
Specified by:
size in interface java.util.List<T>
Specified by:
size in class java.util.AbstractCollection<T>

iterator

public java.util.Iterator<T> iterator()
Specified by:
iterator in interface java.lang.Iterable<T>
Specified by:
iterator in interface java.util.Collection<T>
Specified by:
iterator in interface java.util.List<T>
Overrides:
iterator in class java.util.AbstractList<T>

listIterator

public java.util.ListIterator<T> listIterator()
Specified by:
listIterator in interface java.util.List<T>
Overrides:
listIterator in class java.util.AbstractList<T>

listIterator

public java.util.ListIterator<T> listIterator(int index)
Specified by:
listIterator in interface java.util.List<T>
Overrides:
listIterator in class java.util.AbstractList<T>

add

public boolean add(T e)
Specified by:
add in interface java.util.Collection<T>
Specified by:
add in interface java.util.List<T>
Overrides:
add in class java.util.AbstractList<T>

add

public void add(int index,
                T e)
Specified by:
add in interface java.util.List<T>
Overrides:
add in class java.util.AbstractList<T>

addAll

public boolean addAll(java.util.Collection<? extends T> c)
Specified by:
addAll in interface java.util.Collection<T>
Specified by:
addAll in interface java.util.List<T>
Overrides:
addAll in class java.util.AbstractCollection<T>

addAll

public boolean addAll(int index,
                      java.util.Collection<? extends T> c)
Specified by:
addAll in interface java.util.List<T>
Overrides:
addAll in class java.util.AbstractList<T>

clear

public void clear()
Specified by:
clear in interface java.util.Collection<T>
Specified by:
clear in interface java.util.List<T>
Overrides:
clear in class java.util.AbstractList<T>

remove

public boolean remove(java.lang.Object o)
Specified by:
remove in interface java.util.Collection<T>
Specified by:
remove in interface java.util.List<T>
Overrides:
remove in class java.util.AbstractCollection<T>

remove

public T remove(int index)
Specified by:
remove in interface java.util.List<T>
Overrides:
remove in class java.util.AbstractList<T>

removeRange

public void removeRange(int fromIndex,
                        int toIndex)
Overrides:
removeRange in class java.util.AbstractList<T>

contains

public boolean contains(java.lang.Object o)
Specified by:
contains in interface java.util.Collection<T>
Specified by:
contains in interface java.util.List<T>
Overrides:
contains in class java.util.AbstractCollection<T>

indexOf

public int indexOf(java.lang.Object o)
Specified by:
indexOf in interface java.util.List<T>
Overrides:
indexOf in class java.util.AbstractList<T>

lastIndexOf

public int lastIndexOf(java.lang.Object o)
Specified by:
lastIndexOf in interface java.util.List<T>
Overrides:
lastIndexOf in class java.util.AbstractList<T>

toArray

public java.lang.Object[] toArray()
Specified by:
toArray in interface java.util.Collection<T>
Specified by:
toArray in interface java.util.List<T>
Overrides:
toArray in class java.util.AbstractCollection<T>

toArray

public <V> V[] toArray(V[] a)
Specified by:
toArray in interface java.util.Collection<T>
Specified by:
toArray in interface java.util.List<T>
Overrides:
toArray in class java.util.AbstractCollection<T>

Copyright © 2008–2012 Václav Pech. All Rights Reserved.