Overview | Package | Class | Tree | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class java.util.SubList

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.SubList

class SubList
extends AbstractList

Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
SubList(AbstractList list, int fromIndex, int toIndex)
           
 
Method Summary
void add(int index, java.lang.Object element)
           
java.lang.Object get(int index)
           
Iterator iterator()
           
ListIterator listIterator(int index)
           
java.lang.Object remove(int index)
           
java.lang.Object set(int index, java.lang.Object element)
           
int size()
           
List subList(int fromIndex, int toIndex)
           
 
Methods inherited from class java.util.AbstractList
add, add, addAll, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subList
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Constructor Detail

SubList

SubList(AbstractList list,
        int fromIndex,
        int toIndex)
Method Detail

set

public java.lang.Object set(int index,
                  java.lang.Object element)
Overrides:
set in class AbstractList

get

public java.lang.Object get(int index)
Overrides:
get in class AbstractList

size

public int size()
Overrides:
size in class java.util.AbstractCollection

add

public void add(int index,
                java.lang.Object element)
Overrides:
add in class AbstractList

remove

public java.lang.Object remove(int index)
Overrides:
remove in class AbstractList

iterator

public Iterator iterator()
Overrides:
iterator in class AbstractList

listIterator

public ListIterator listIterator(int index)
Overrides:
listIterator in class AbstractList

subList

public List subList(int fromIndex,
                    int toIndex)
Overrides:
subList in class AbstractList

Overview | Package | Class | Tree | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD