org.mymedialite.datatype
Class DoubleListProxy

java.lang.Object
  extended by org.mymedialite.datatype.DoubleListProxy

public class DoubleListProxy
extends java.lang.Object

Proxy class that allows access to selected elements of an underlying list data structure.


Constructor Summary
DoubleListProxy(DoubleList list, IntList indices)
          Create a new DoubleListProxy object.
 
Method Summary
 boolean add(double arg0)
           
 boolean add(java.lang.Double e)
           
 void add(int arg0, double arg1)
           
 void add(int index, java.lang.Double element)
           
 boolean addAll(java.util.Collection<? extends java.lang.Double> c)
           
 boolean addAll(DoubleCollection arg0)
           
 boolean addAll(DoubleList arg0)
           
 boolean addAll(int index, java.util.Collection<? extends java.lang.Double> c)
           
 boolean addAll(int arg0, DoubleCollection arg1)
           
 boolean addAll(int arg0, DoubleList arg1)
           
 void addElements(int arg0, double[] arg1)
           
 void addElements(int arg0, double[] arg1, int arg2, int arg3)
           
 void clear()
           
 int compareTo(java.util.List<? extends java.lang.Double> o)
           
 boolean contains(double arg0)
           
 boolean contains(java.lang.Object o)
           
 boolean containsAll(java.util.Collection<?> c)
           
 boolean containsAll(DoubleCollection arg0)
           
 DoubleIterator doubleIterator()
           
 DoubleListIterator doubleListIterator()
           
 DoubleListIterator doubleListIterator(int index)
           
 DoubleList doubleSubList(int arg0, int arg1)
           
 java.lang.Double get(int index)
           
 double getDouble(int index)
           
 void getElements(int arg0, double[] arg1, int arg2, int arg3)
           
 int indexOf(double arg0)
           
 int indexOf(java.lang.Object o)
           
 boolean isEmpty()
           
 boolean isFixedSize()
           
 boolean isReadOnly()
           
 DoubleListIterator iterator()
           
 int lastIndexOf(double arg0)
           
 int lastIndexOf(java.lang.Object o)
           
 DoubleListIterator listIterator()
           
 DoubleListIterator listIterator(int index)
           
 boolean rem(double arg0)
           
 java.lang.Double remove(int index)
           
 boolean remove(java.lang.Object o)
           
 boolean removeAll(java.util.Collection<?> c)
           
 boolean removeAll(DoubleCollection arg0)
           
 double removeDouble(int arg0)
           
 void removeElements(int arg0, int arg1)
           
 boolean retainAll(java.util.Collection<?> c)
           
 boolean retainAll(DoubleCollection arg0)
           
 double set(int index, double value)
           
 java.lang.Double set(int index, java.lang.Double element)
           
 int size()
           
 void size(int arg0)
           
 DoubleList subList(int arg0, int arg1)
           
 java.lang.Object[] toArray()
           
 double[] toArray(double[] arg0)
           
<T> T[]
toArray(T[] a)
           
 double[] toDoubleArray()
           
 double[] toDoubleArray(double[] arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleListProxy

public DoubleListProxy(DoubleList list,
                       IntList indices)
Create a new DoubleListProxy object.

Parameters:
list - the list to proxy
indices - an index list pointing to entries in the list
Method Detail

get

public java.lang.Double get(int index)

getDouble

public double getDouble(int index)

set

public double set(int index,
                  double value)

size

public int size()

isReadOnly

public boolean isReadOnly()

isFixedSize

public boolean isFixedSize()

listIterator

public DoubleListIterator listIterator()

listIterator

public DoubleListIterator listIterator(int index)

doubleListIterator

public DoubleListIterator doubleListIterator()

doubleListIterator

public DoubleListIterator doubleListIterator(int index)

iterator

public DoubleListIterator iterator()

doubleIterator

public DoubleIterator doubleIterator()

add

public boolean add(java.lang.Double e)

add

public void add(int index,
                java.lang.Double element)

addAll

public boolean addAll(java.util.Collection<? extends java.lang.Double> c)

addAll

public boolean addAll(int index,
                      java.util.Collection<? extends java.lang.Double> c)

clear

public void clear()

contains

public boolean contains(java.lang.Object o)

containsAll

public boolean containsAll(java.util.Collection<?> c)

indexOf

public int indexOf(java.lang.Object o)

isEmpty

public boolean isEmpty()

lastIndexOf

public int lastIndexOf(java.lang.Object o)

remove

public boolean remove(java.lang.Object o)

remove

public java.lang.Double remove(int index)

removeAll

public boolean removeAll(java.util.Collection<?> c)

retainAll

public boolean retainAll(java.util.Collection<?> c)

set

public java.lang.Double set(int index,
                            java.lang.Double element)

toArray

public java.lang.Object[] toArray()

toArray

public <T> T[] toArray(T[] a)

compareTo

public int compareTo(java.util.List<? extends java.lang.Double> o)

addAll

public boolean addAll(DoubleCollection arg0)

contains

public boolean contains(double arg0)

containsAll

public boolean containsAll(DoubleCollection arg0)

rem

public boolean rem(double arg0)

removeAll

public boolean removeAll(DoubleCollection arg0)

retainAll

public boolean retainAll(DoubleCollection arg0)

toArray

public double[] toArray(double[] arg0)

toDoubleArray

public double[] toDoubleArray()

toDoubleArray

public double[] toDoubleArray(double[] arg0)

add

public boolean add(double arg0)

add

public void add(int arg0,
                double arg1)

addAll

public boolean addAll(DoubleList arg0)

addAll

public boolean addAll(int arg0,
                      DoubleCollection arg1)

addAll

public boolean addAll(int arg0,
                      DoubleList arg1)

addElements

public void addElements(int arg0,
                        double[] arg1)

addElements

public void addElements(int arg0,
                        double[] arg1,
                        int arg2,
                        int arg3)

doubleSubList

public DoubleList doubleSubList(int arg0,
                                int arg1)

getElements

public void getElements(int arg0,
                        double[] arg1,
                        int arg2,
                        int arg3)

indexOf

public int indexOf(double arg0)

lastIndexOf

public int lastIndexOf(double arg0)

removeDouble

public double removeDouble(int arg0)

removeElements

public void removeElements(int arg0,
                           int arg1)

size

public void size(int arg0)

subList

public DoubleList subList(int arg0,
                          int arg1)