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
-
CheckedSeq(UpdatableSeq)
- Wrap Seq s inside a checker
-
appendElements(Enumeration)
- Checks collections.UpdatableSeq.appendElements according to its specification
-
at(int)
- Checks collections.Seq.at according to its specification
-
checkInsert(Seq, Seq, int, Object, boolean)
- Helper for checking insert*
-
checkRemoveAt(Seq, Seq, int, boolean)
- Helper for checking remov*
-
checkReplaceAt(Seq, Seq, int, Object, boolean)
- Helper for checking replac*
-
clone()
- Make a Checked clone of underlying collection
-
elements()
- Checks collections.Collection.elements according to its specification
-
first()
- Checks collections.Seq.first according to its specification
-
firstIndexOf(Object)
- Checks collections.Seq.firstIndexOf according to its specification
-
firstIndexOf(Object, int)
- Checks collections.Seq.firstIndexOf according to its specification
-
insertAt(int, Object)
- Checks collections.UpdatableSeq.insertAt according to its specification
-
insertElementsAt(int, Enumeration)
- Checks collections.UpdatableSeq.insertElementsAt according to its specification
-
insertFirst(Object)
- Checks collections.UpdatableSeq.insertFirst according to its specification
-
insertingAt(int, Object)
- Checks collections.Seq.insertingAt.
-
insertLast(Object)
- Checks collections.UpdatableSeq.insertLast according to its specification
-
last()
- Checks collections.Seq.last according to its specification
-
lastIndexOf(Object)
- Checks collections.Seq.lastIndexOf according to its specification
-
lastIndexOf(Object, int)
- Checks collections.Seq.lastIndexOf according to its specification
-
prependElements(Enumeration)
- Checks collections.UpdatableSeq.prependElements according to its specification
-
prev()
- return casted version of CheckedCollection.prev.
-
removeAt(int)
- Checks collections.UpdatableSeq.removeAt according to its specification
-
removeFirst()
- Checks collections.UpdatableSeq.removeFirst according to its specification
-
removeFromTo(int, int)
- Checks collections.UpdatableSeq.removeFromTo according to its specification
-
removeLast()
- Checks collections.UpdatableSeq.removeLast according to its specification
-
removingAt(int)
- Checks collections.Seq.removingAt.
-
replaceAt(int, Object)
- Checks collections.UpdatableSeq.replaceAt according to its specification
-
replaceFirst(Object)
- Checks collections.UpdatableSeq.replaceFirst according to its specification
-
replaceLast(Object)
- Checks collections.UpdatableSeq.replaceLast according to its specification
-
replacingAt(int, Object)
- Checks collections.Seq.replacingAt
-
subseq(int, int)
- Checks collections.Seq.subseq according to its specification
-
thys()
- return casted version of CheckedCollection.thys.
CheckedSeq
public CheckedSeq(UpdatableSeq s)
- Wrap Seq s inside a checker
clone
protected Object clone() throws CloneNotSupportedException
- Make a Checked clone of underlying collection
- Overrides:
- clone in class CheckedCollection
thys
public UpdatableSeq thys()
- return casted version of CheckedCollection.thys.
prev
public UpdatableSeq prev()
- return casted version of CheckedCollection.prev.
elements
public synchronized CollectionEnumeration elements()
- Checks collections.Collection.elements according to its specification
- Overrides:
- elements in class CheckedCollection
- See Also:
- elements
at
public synchronized Object at(int index) throws NoSuchElementException
- Checks collections.Seq.at according to its specification
- See Also:
- at
first
public synchronized Object first() throws NoSuchElementException
- Checks collections.Seq.first according to its specification
- See Also:
- first
last
public synchronized Object last() throws NoSuchElementException
- Checks collections.Seq.last according to its specification
- See Also:
- last
firstIndexOf
public synchronized int firstIndexOf(Object element,
int startingIndex)
- Checks collections.Seq.firstIndexOf according to its specification
- See Also:
- firstIndexOf
firstIndexOf
public synchronized int firstIndexOf(Object element)
- Checks collections.Seq.firstIndexOf according to its specification
- See Also:
- firstIndexOf
lastIndexOf
public synchronized int lastIndexOf(Object element,
int startingIndex)
- Checks collections.Seq.lastIndexOf according to its specification
- See Also:
- lastIndexOf
lastIndexOf
public synchronized int lastIndexOf(Object element)
- Checks collections.Seq.lastIndexOf according to its specification
- See Also:
- lastIndexOf
subseq
public synchronized Seq subseq(int index,
int length) throws NoSuchElementException
- Checks collections.Seq.subseq according to its specification
- See Also:
- subseq
insertAt
public synchronized void insertAt(int index,
Object element) throws IllegalElementException, NoSuchElementException
- Checks collections.UpdatableSeq.insertAt according to its specification
- See Also:
- insertAt
insertingAt
public synchronized Seq insertingAt(int index,
Object element) throws IllegalElementException, NoSuchElementException
- Checks collections.Seq.insertingAt.
- See Also:
- insertingAt
replaceAt
public synchronized void replaceAt(int index,
Object element) throws IllegalElementException, NoSuchElementException
- Checks collections.UpdatableSeq.replaceAt according to its specification
- See Also:
- replaceAt
replacingAt
public synchronized Seq replacingAt(int index,
Object element) throws IllegalElementException, NoSuchElementException
- Checks collections.Seq.replacingAt
- See Also:
- replacingAt
removeAt
public synchronized void removeAt(int index) throws NoSuchElementException
- Checks collections.UpdatableSeq.removeAt according to its specification
- See Also:
- removeAt
removingAt
public synchronized Seq removingAt(int index) throws NoSuchElementException
- Checks collections.Seq.removingAt.
- See Also:
- removingAt
insertFirst
public synchronized void insertFirst(Object element) throws IllegalElementException
- Checks collections.UpdatableSeq.insertFirst according to its specification
- See Also:
- insertFirst
replaceFirst
public synchronized void replaceFirst(Object element) throws IllegalElementException, NoSuchElementException
- Checks collections.UpdatableSeq.replaceFirst according to its specification
- See Also:
- replaceFirst
removeFirst
public synchronized void removeFirst() throws NoSuchElementException
- Checks collections.UpdatableSeq.removeFirst according to its specification
- See Also:
- removeFirst
insertLast
public synchronized void insertLast(Object element) throws IllegalElementException
- Checks collections.UpdatableSeq.insertLast according to its specification
- See Also:
- insertLast
replaceLast
public synchronized void replaceLast(Object element) throws IllegalElementException, NoSuchElementException
- Checks collections.UpdatableSeq.replaceLast according to its specification
- See Also:
- replaceLast
removeLast
public synchronized void removeLast() throws NoSuchElementException
- Checks collections.UpdatableSeq.removeLast according to its specification
- See Also:
- removeLast
removeFromTo
public synchronized void removeFromTo(int fromIndex,
int toIndex) throws NoSuchElementException
- Checks collections.UpdatableSeq.removeFromTo according to its specification
- See Also:
- removeFromTo
insertElementsAt
public synchronized void insertElementsAt(int index,
Enumeration e) throws IllegalElementException, CorruptedEnumerationException, NoSuchElementException
- Checks collections.UpdatableSeq.insertElementsAt according to its specification
- See Also:
- insertElementsAt
prependElements
public synchronized void prependElements(Enumeration e) throws IllegalElementException, CorruptedEnumerationException
- Checks collections.UpdatableSeq.prependElements according to its specification
- See Also:
- prependElements
appendElements
public synchronized void appendElements(Enumeration e) throws IllegalElementException, CorruptedEnumerationException
- Checks collections.UpdatableSeq.appendElements according to its specification
- See Also:
- appendElements
checkInsert
protected void checkInsert(Seq nc,
Seq oc,
int index,
Object element,
boolean verchk)
- Helper for checking insert*
checkReplaceAt
protected void checkReplaceAt(Seq nc,
Seq oc,
int index,
Object element,
boolean verchk)
- Helper for checking replac*
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