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

All Implemented Interfaces:
    Serializable, RandomAccess, List, Collection

Fields inherited from java.util.AbstractList:
modCount
Constructor:
 SingletonList(E obj) 
Method from java.util.Collections$SingletonList Summary:
contains,   get,   iterator,   size
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.Collections$SingletonList Detail:
 public boolean contains(Object obj) 
 public E get(int index) 
 public Iterator<E> iterator() 
 public int size()