Home » openjdk-7 » java » util » [javadoc | source]
java.util
class: SubList [javadoc | source]
java.lang.Object
   java.util.AbstractCollection<E>
      java.util.AbstractList<E>
         java.util.SubList

All Implemented Interfaces:
    List, Collection

Direct Known Subclasses:
    RandomAccessSubList

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