net.sf.jaxme.js.junit
Class ObservableList

java.lang.Object
  extended byjava.util.Observable
      extended bynet.sf.jaxme.js.junit.ObservableList
All Implemented Interfaces:
java.util.Collection, java.util.List
Direct Known Subclasses:
MultipleInheritanceTest.MyObservableList

public class ObservableList
extends java.util.Observable
implements java.util.List


Constructor Summary
protected ObservableList(java.lang.Object o)
           
 
Method Summary
 void add(int p0, java.lang.Object p1)
           
 boolean add(java.lang.Object p0)
           
 boolean addAll(java.util.Collection p0)
           
 boolean addAll(int p0, java.util.Collection p1)
           
 void clear()
           
 boolean contains(java.lang.Object p0)
           
 boolean containsAll(java.util.Collection p0)
           
 boolean equals(java.lang.Object p0)
           
 java.lang.Object get(int p0)
           
 int hashCode()
           
 int indexOf(java.lang.Object p0)
           
 boolean isEmpty()
           
 java.util.Iterator iterator()
           
 int lastIndexOf(java.lang.Object p0)
           
 java.util.ListIterator listIterator()
           
 java.util.ListIterator listIterator(int p0)
           
 java.lang.Object remove(int p0)
           
 boolean remove(java.lang.Object p0)
           
 boolean removeAll(java.util.Collection p0)
           
 boolean retainAll(java.util.Collection p0)
           
 java.lang.Object set(int p0, java.lang.Object p1)
           
 int size()
           
 java.util.List subList(int p0, int p1)
           
 java.lang.Object[] toArray()
           
 java.lang.Object[] toArray(java.lang.Object[] p0)
           
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObservableList

protected ObservableList(java.lang.Object o)
Method Detail

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.List

equals

public boolean equals(java.lang.Object p0)
Specified by:
equals in interface java.util.List

indexOf

public int indexOf(java.lang.Object p0)
Specified by:
indexOf in interface java.util.List

lastIndexOf

public int lastIndexOf(java.lang.Object p0)
Specified by:
lastIndexOf in interface java.util.List

add

public boolean add(java.lang.Object p0)
Specified by:
add in interface java.util.List

add

public void add(int p0,
                java.lang.Object p1)
Specified by:
add in interface java.util.List

addAll

public boolean addAll(int p0,
                      java.util.Collection p1)
Specified by:
addAll in interface java.util.List

addAll

public boolean addAll(java.util.Collection p0)
Specified by:
addAll in interface java.util.List

contains

public boolean contains(java.lang.Object p0)
Specified by:
contains in interface java.util.List

get

public java.lang.Object get(int p0)
Specified by:
get in interface java.util.List

size

public int size()
Specified by:
size in interface java.util.List

toArray

public java.lang.Object[] toArray()
Specified by:
toArray in interface java.util.List

toArray

public java.lang.Object[] toArray(java.lang.Object[] p0)
Specified by:
toArray in interface java.util.List

remove

public boolean remove(java.lang.Object p0)
Specified by:
remove in interface java.util.List

remove

public java.lang.Object remove(int p0)
Specified by:
remove in interface java.util.List

clear

public void clear()
Specified by:
clear in interface java.util.List

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.List

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface java.util.List

set

public java.lang.Object set(int p0,
                            java.lang.Object p1)
Specified by:
set in interface java.util.List

containsAll

public boolean containsAll(java.util.Collection p0)
Specified by:
containsAll in interface java.util.List

removeAll

public boolean removeAll(java.util.Collection p0)
Specified by:
removeAll in interface java.util.List

retainAll

public boolean retainAll(java.util.Collection p0)
Specified by:
retainAll in interface java.util.List

subList

public java.util.List subList(int p0,
                              int p1)
Specified by:
subList in interface java.util.List

listIterator

public java.util.ListIterator listIterator(int p0)
Specified by:
listIterator in interface java.util.List

listIterator

public java.util.ListIterator listIterator()
Specified by:
listIterator in interface java.util.List