groovyx.gpars.extra166y
Class ParallelLongArray.AsList

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

final class ParallelLongArray.AsList
extends java.util.AbstractList<java.lang.Long>
implements java.util.RandomAccess


Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ParallelLongArray.AsList()
           
 
Method Summary
 void add(int index, java.lang.Long e)
           
 boolean add(java.lang.Long e)
           
 boolean addAll(java.util.Collection<? extends java.lang.Long> c)
           
 boolean addAll(int index, java.util.Collection<? extends java.lang.Long> c)
           
 void clear()
           
 boolean contains(java.lang.Object o)
           
 java.lang.Long get(int i)
           
 int indexOf(java.lang.Object o)
           
 boolean isEmpty()
           
 java.util.Iterator<java.lang.Long> iterator()
           
 int lastIndexOf(java.lang.Object o)
           
 java.util.ListIterator<java.lang.Long> listIterator()
           
 java.util.ListIterator<java.lang.Long> listIterator(int index)
           
 java.lang.Long remove(int index)
           
 boolean remove(java.lang.Object o)
           
 void removeRange(int fromIndex, int toIndex)
           
 java.lang.Long set(int i, java.lang.Long 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
 

Constructor Detail

ParallelLongArray.AsList

ParallelLongArray.AsList()
Method Detail

get

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

set

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

isEmpty

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

size

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

iterator

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

listIterator

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

listIterator

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

add

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

add

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

addAll

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

addAll

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

clear

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

remove

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

remove

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

removeRange

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

contains

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

indexOf

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

lastIndexOf

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

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