| Method from org.apache.commons.collections.CursorableSubList Detail: |
public boolean add(Object o) {
checkForComod();
return super.add(o);
} Deprecated! |
public void add(int index,
Object element) {
checkForComod();
super.add(index,element);
} Deprecated! |
public boolean addAll(Collection c) {
checkForComod();
return super.addAll(c);
} Deprecated! |
public boolean addAll(int index,
Collection c) {
checkForComod();
return super.addAll(index,c);
} Deprecated! |
public boolean addFirst(Object o) {
checkForComod();
return super.addFirst(o);
} Deprecated! |
public boolean addLast(Object o) {
checkForComod();
return super.addLast(o);
} Deprecated! |
protected void checkForComod() throws ConcurrentModificationException {
if(_modCount != _list._modCount) {
throw new ConcurrentModificationException();
}
} Deprecated!Test to see if my underlying list has been modified
by some other process. If it has, throws a
ConcurrentModificationException , otherwise
quietly returns. |
public void clear() {
checkForComod();
Iterator it = iterator();
while(it.hasNext()) {
it.next();
it.remove();
}
} Deprecated! |
public boolean contains(Object o) {
checkForComod();
return super.contains(o);
} Deprecated! |
public boolean containsAll(Collection c) {
checkForComod();
return super.containsAll(c);
} Deprecated! |
public boolean equals(Object o) {
checkForComod();
return super.equals(o);
} Deprecated! |
public Object get(int index) {
checkForComod();
return super.get(index);
} Deprecated! |
public Object getFirst() {
checkForComod();
return super.getFirst();
} Deprecated! |
public Object getLast() {
checkForComod();
return super.getLast();
} Deprecated! |
public int hashCode() {
checkForComod();
return super.hashCode();
} Deprecated! |
public int indexOf(Object o) {
checkForComod();
return super.indexOf(o);
} Deprecated! |
protected Listable insertListable(Listable before,
Listable after,
Object value) {
_modCount++;
_size++;
Listable elt = _list.insertListable((null == before ? _pre : before), (null == after ? _post : after),value);
if(null == _head.next()) {
_head.setNext(elt);
_head.setPrev(elt);
}
if(before == _head.prev()) {
_head.setPrev(elt);
}
if(after == _head.next()) {
_head.setNext(elt);
}
broadcastListableInserted(elt);
return elt;
} Deprecated!Inserts a new value into my
list, after the specified before element, and before the
specified after element |
public boolean isEmpty() {
checkForComod();
return super.isEmpty();
} Deprecated! |
public Iterator iterator() {
checkForComod();
return super.iterator();
} Deprecated! |
public int lastIndexOf(Object o) {
checkForComod();
return super.lastIndexOf(o);
} Deprecated! |
public ListIterator listIterator() {
checkForComod();
return super.listIterator();
} Deprecated! |
public ListIterator listIterator(int index) {
checkForComod();
return super.listIterator(index);
} Deprecated! |
public boolean remove(Object o) {
checkForComod();
return super.remove(o);
} Deprecated! |
public Object remove(int index) {
checkForComod();
return super.remove(index);
} Deprecated! |
public boolean removeAll(Collection c) {
checkForComod();
return super.removeAll(c);
} Deprecated! |
public Object removeFirst() {
checkForComod();
return super.removeFirst();
} Deprecated! |
public Object removeLast() {
checkForComod();
return super.removeLast();
} Deprecated! |
protected void removeListable(Listable elt) {
_modCount++;
_size--;
if(_head.next() == elt && _head.prev() == elt) {
_head.setNext(null);
_head.setPrev(null);
}
if(_head.next() == elt) {
_head.setNext(elt.next());
}
if(_head.prev() == elt) {
_head.setPrev(elt.prev());
}
_list.removeListable(elt);
broadcastListableRemoved(elt);
} Deprecated! |
public boolean retainAll(Collection c) {
checkForComod();
return super.retainAll(c);
} Deprecated! |
public Object set(int index,
Object element) {
checkForComod();
return super.set(index,element);
} Deprecated! |
public int size() {
checkForComod();
return super.size();
} Deprecated! |
public List subList(int fromIndex,
int toIndex) {
checkForComod();
return super.subList(fromIndex,toIndex);
} Deprecated! |
public Object[] toArray() {
checkForComod();
return super.toArray();
} Deprecated! |
public Object[] toArray(Object[] a) {
checkForComod();
return super.toArray(a);
} Deprecated! |