Build 1.0_r1(from source)

java.util
Class Collections.SynchronizedRandomAccessList<E>

java.lang.Object
  extended by java.util.Collections.SynchronizedCollection<E>
      extended by java.util.Collections.SynchronizedList<E>
          extended by java.util.Collections.SynchronizedRandomAccessList<E>
All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, List<E>, RandomAccess
Enclosing class:
Collections

static class Collections.SynchronizedRandomAccessList<E>
extends Collections.SynchronizedList<E>
implements RandomAccess


Field Summary
 
Fields inherited from class java.util.Collections.SynchronizedList
list
 
Fields inherited from class java.util.Collections.SynchronizedCollection
c, mutex
 
Constructor Summary
Collections.SynchronizedRandomAccessList(List<E> l)
           
Collections.SynchronizedRandomAccessList(List<E> l, Object mutex)
           
 
Method Summary
 List<E> subList(int start, int end)
          Returns a List of the specified portion of this List from the start index to one less than the end index.
 
Methods inherited from class java.util.Collections.SynchronizedList
add, addAll, equals, get, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, set
 
Methods inherited from class java.util.Collections.SynchronizedCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, 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
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

Collections.SynchronizedRandomAccessList

Collections.SynchronizedRandomAccessList(List<E> l)

Collections.SynchronizedRandomAccessList

Collections.SynchronizedRandomAccessList(List<E> l,
                                         Object mutex)
Method Detail

subList

public List<E> subList(int start,
                       int end)
Description copied from interface: List
Returns a List of the specified portion of this List from the start index to one less than the end index. The returned List is backed by this list so changes to one are reflected by the other.

Specified by:
subList in interface List<E>
Overrides:
subList in class Collections.SynchronizedList<E>
Parameters:
start - the index at which to start the sublist
end - the index one past the end of the sublist
Returns:
a List of a portion of this List

Build 1.0_r1(from source)

Please submit a feedback, bug or feature