All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class collections.CheckedSeq

java.lang.Object
   |
   +----collections.CheckedCollection
           |
           +----collections.CheckedSeq

public class CheckedSeq
extends CheckedCollection
implements UpdatableSeq

Constructor Index

 o CheckedSeq(UpdatableSeq)
Wrap Seq s inside a checker

Method Index

 o appendElements(Enumeration)
Checks collections.UpdatableSeq.appendElements according to its specification
 o at(int)
Checks collections.Seq.at according to its specification
 o checkInsert(Seq, Seq, int, Object, boolean)
Helper for checking insert*
 o checkRemoveAt(Seq, Seq, int, boolean)
Helper for checking remov*
 o checkReplaceAt(Seq, Seq, int, Object, boolean)
Helper for checking replac*
 o clone()
Make a Checked clone of underlying collection
 o elements()
Checks collections.Collection.elements according to its specification
 o first()
Checks collections.Seq.first according to its specification
 o firstIndexOf(Object)
Checks collections.Seq.firstIndexOf according to its specification
 o firstIndexOf(Object, int)
Checks collections.Seq.firstIndexOf according to its specification
 o insertAt(int, Object)
Checks collections.UpdatableSeq.insertAt according to its specification
 o insertElementsAt(int, Enumeration)
Checks collections.UpdatableSeq.insertElementsAt according to its specification
 o insertFirst(Object)
Checks collections.UpdatableSeq.insertFirst according to its specification
 o insertingAt(int, Object)
Checks collections.Seq.insertingAt.
 o insertLast(Object)
Checks collections.UpdatableSeq.insertLast according to its specification
 o last()
Checks collections.Seq.last according to its specification
 o lastIndexOf(Object)
Checks collections.Seq.lastIndexOf according to its specification
 o lastIndexOf(Object, int)
Checks collections.Seq.lastIndexOf according to its specification
 o prependElements(Enumeration)
Checks collections.UpdatableSeq.prependElements according to its specification
 o prev()
return casted version of CheckedCollection.prev.
 o removeAt(int)
Checks collections.UpdatableSeq.removeAt according to its specification
 o removeFirst()
Checks collections.UpdatableSeq.removeFirst according to its specification
 o removeFromTo(int, int)
Checks collections.UpdatableSeq.removeFromTo according to its specification
 o removeLast()
Checks collections.UpdatableSeq.removeLast according to its specification
 o removingAt(int)
Checks collections.Seq.removingAt.
 o replaceAt(int, Object)
Checks collections.UpdatableSeq.replaceAt according to its specification
 o replaceFirst(Object)
Checks collections.UpdatableSeq.replaceFirst according to its specification
 o replaceLast(Object)
Checks collections.UpdatableSeq.replaceLast according to its specification
 o replacingAt(int, Object)
Checks collections.Seq.replacingAt
 o subseq(int, int)
Checks collections.Seq.subseq according to its specification
 o thys()
return casted version of CheckedCollection.thys.

Constructors

 o CheckedSeq
 public CheckedSeq(UpdatableSeq s)
Wrap Seq s inside a checker

Methods

 o clone
 protected Object clone() throws CloneNotSupportedException
Make a Checked clone of underlying collection

Overrides:
clone in class CheckedCollection
 o thys
 public UpdatableSeq thys()
return casted version of CheckedCollection.thys.

 o prev
 public UpdatableSeq prev()
return casted version of CheckedCollection.prev.

 o elements
 public synchronized CollectionEnumeration elements()
Checks collections.Collection.elements according to its specification

Overrides:
elements in class CheckedCollection
See Also:
elements
 o at
 public synchronized Object at(int index) throws NoSuchElementException
Checks collections.Seq.at according to its specification

See Also:
at
 o first
 public synchronized Object first() throws NoSuchElementException
Checks collections.Seq.first according to its specification

See Also:
first
 o last
 public synchronized Object last() throws NoSuchElementException
Checks collections.Seq.last according to its specification

See Also:
last
 o firstIndexOf
 public synchronized int firstIndexOf(Object element,
                                      int startingIndex)
Checks collections.Seq.firstIndexOf according to its specification

See Also:
firstIndexOf
 o firstIndexOf
 public synchronized int firstIndexOf(Object element)
Checks collections.Seq.firstIndexOf according to its specification

See Also:
firstIndexOf
 o lastIndexOf
 public synchronized int lastIndexOf(Object element,
                                     int startingIndex)
Checks collections.Seq.lastIndexOf according to its specification

See Also:
lastIndexOf
 o lastIndexOf
 public synchronized int lastIndexOf(Object element)
Checks collections.Seq.lastIndexOf according to its specification

See Also:
lastIndexOf
 o subseq
 public synchronized Seq subseq(int index,
                                int length) throws NoSuchElementException
Checks collections.Seq.subseq according to its specification

See Also:
subseq
 o insertAt
 public synchronized void insertAt(int index,
                                   Object element) throws IllegalElementException, NoSuchElementException
Checks collections.UpdatableSeq.insertAt according to its specification

See Also:
insertAt
 o insertingAt
 public synchronized Seq insertingAt(int index,
                                     Object element) throws IllegalElementException, NoSuchElementException
Checks collections.Seq.insertingAt.

See Also:
insertingAt
 o replaceAt
 public synchronized void replaceAt(int index,
                                    Object element) throws IllegalElementException, NoSuchElementException
Checks collections.UpdatableSeq.replaceAt according to its specification

See Also:
replaceAt
 o replacingAt
 public synchronized Seq replacingAt(int index,
                                     Object element) throws IllegalElementException, NoSuchElementException
Checks collections.Seq.replacingAt

See Also:
replacingAt
 o removeAt
 public synchronized void removeAt(int index) throws NoSuchElementException
Checks collections.UpdatableSeq.removeAt according to its specification

See Also:
removeAt
 o removingAt
 public synchronized Seq removingAt(int index) throws NoSuchElementException
Checks collections.Seq.removingAt.

See Also:
removingAt
 o insertFirst
 public synchronized void insertFirst(Object element) throws IllegalElementException
Checks collections.UpdatableSeq.insertFirst according to its specification

See Also:
insertFirst
 o replaceFirst
 public synchronized void replaceFirst(Object element) throws IllegalElementException, NoSuchElementException
Checks collections.UpdatableSeq.replaceFirst according to its specification

See Also:
replaceFirst
 o removeFirst
 public synchronized void removeFirst() throws NoSuchElementException
Checks collections.UpdatableSeq.removeFirst according to its specification

See Also:
removeFirst
 o insertLast
 public synchronized void insertLast(Object element) throws IllegalElementException
Checks collections.UpdatableSeq.insertLast according to its specification

See Also:
insertLast
 o replaceLast
 public synchronized void replaceLast(Object element) throws IllegalElementException, NoSuchElementException
Checks collections.UpdatableSeq.replaceLast according to its specification

See Also:
replaceLast
 o removeLast
 public synchronized void removeLast() throws NoSuchElementException
Checks collections.UpdatableSeq.removeLast according to its specification

See Also:
removeLast
 o removeFromTo
 public synchronized void removeFromTo(int fromIndex,
                                       int toIndex) throws NoSuchElementException
Checks collections.UpdatableSeq.removeFromTo according to its specification

See Also:
removeFromTo
 o insertElementsAt
 public synchronized void insertElementsAt(int index,
                                           Enumeration e) throws IllegalElementException, CorruptedEnumerationException, NoSuchElementException
Checks collections.UpdatableSeq.insertElementsAt according to its specification

See Also:
insertElementsAt
 o prependElements
 public synchronized void prependElements(Enumeration e) throws IllegalElementException, CorruptedEnumerationException
Checks collections.UpdatableSeq.prependElements according to its specification

See Also:
prependElements
 o appendElements
 public synchronized void appendElements(Enumeration e) throws IllegalElementException, CorruptedEnumerationException
Checks collections.UpdatableSeq.appendElements according to its specification

See Also:
appendElements
 o checkInsert
 protected void checkInsert(Seq nc,
                            Seq oc,
                            int index,
                            Object element,
                            boolean verchk)
Helper for checking insert*

 o checkReplaceAt
 protected void checkReplaceAt(Seq nc,
                               Seq oc,
                               int index,
                               Object element,
                               boolean verchk)
Helper for checking replac*

 o checkRemoveAt
 protected void checkRemoveAt(Seq nc,
                              Seq oc,
                              int index,
                              boolean verchk)
Helper for checking remov*


All Packages  Class Hierarchy  This Package  Previous  Next  Index