net.sf.collections15.list
Class AbstractLinkedList.LinkedSubList<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<T>
net.sf.collections15.list.AbstractLinkedList.LinkedSubList<T>
- All Implemented Interfaces:
- java.lang.Iterable<T>, java.util.Collection<T>, java.util.List<T>
- Enclosing class:
- AbstractLinkedList<E>
protected static class AbstractLinkedList.LinkedSubList<T>
- extends java.util.AbstractList<T>
The sublist implementation for AbstractLinkedList.
Fields inherited from class java.util.AbstractList |
modCount |
Method Summary |
void |
add(int index,
T obj)
|
boolean |
addAll(java.util.Collection<? extends T> coll)
|
boolean |
addAll(int index,
java.util.Collection<? extends T> coll)
|
protected void |
checkModCount()
|
void |
clear()
|
T |
get(int index)
|
java.util.Iterator<T> |
iterator()
|
java.util.ListIterator<T> |
listIterator(int index)
|
protected void |
rangeCheck(int index,
int beyond)
|
T |
remove(int index)
|
T |
set(int index,
T obj)
|
int |
size()
|
java.util.List<T> |
subList(int fromIndexInclusive,
int toIndexExclusive)
|
Methods inherited from class java.util.AbstractList |
add, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange |
Methods inherited from class java.util.AbstractCollection |
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
AbstractLinkedList.LinkedSubList
protected AbstractLinkedList.LinkedSubList(AbstractLinkedList<T> parent,
int fromIndex,
int toIndex)
size
public int size()
- Specified by:
size
in interface java.util.Collection<T>
- Specified by:
size
in interface java.util.List<T>
- Specified by:
size
in class java.util.AbstractCollection<T>
get
public T get(int index)
- Specified by:
get
in interface java.util.List<T>
- Specified by:
get
in class java.util.AbstractList<T>
add
public void add(int index,
T obj)
- Specified by:
add
in interface java.util.List<T>
- Overrides:
add
in class java.util.AbstractList<T>
remove
public T remove(int index)
- Specified by:
remove
in interface java.util.List<T>
- Overrides:
remove
in class java.util.AbstractList<T>
addAll
public boolean addAll(java.util.Collection<? extends T> coll)
- Specified by:
addAll
in interface java.util.Collection<T>
- Specified by:
addAll
in interface java.util.List<T>
- Overrides:
addAll
in class java.util.AbstractCollection<T>
addAll
public boolean addAll(int index,
java.util.Collection<? extends T> coll)
- Specified by:
addAll
in interface java.util.List<T>
- Overrides:
addAll
in class java.util.AbstractList<T>
set
public T set(int index,
T obj)
- Specified by:
set
in interface java.util.List<T>
- Overrides:
set
in class java.util.AbstractList<T>
clear
public void clear()
- Specified by:
clear
in interface java.util.Collection<T>
- Specified by:
clear
in interface java.util.List<T>
- Overrides:
clear
in class java.util.AbstractList<T>
iterator
public java.util.Iterator<T> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<T>
- Specified by:
iterator
in interface java.util.Collection<T>
- Specified by:
iterator
in interface java.util.List<T>
- Overrides:
iterator
in class java.util.AbstractList<T>
listIterator
public java.util.ListIterator<T> listIterator(int index)
- Specified by:
listIterator
in interface java.util.List<T>
- Overrides:
listIterator
in class java.util.AbstractList<T>
subList
public java.util.List<T> subList(int fromIndexInclusive,
int toIndexExclusive)
- Specified by:
subList
in interface java.util.List<T>
- Overrides:
subList
in class java.util.AbstractList<T>
rangeCheck
protected void rangeCheck(int index,
int beyond)
checkModCount
protected void checkModCount()
Copyright © 2001-2005 SourceForge.net. All Rights Reserved.