Java Platform 1.2
Beta 4

Uses of Interface
java.util.Collection

Packages that use Collection
java.beans.beancontext Provides classes and interfaces relating to bean context.  
java.security.cert Provides classes and interfaces for parsing and managing certificates.  
java.util Provides useful utilities for data structures, date, time, internationalization, events (root interfaces), a simple string tokenizer, a random-number generator, observers, properties and exceptions.  
java.util.jar Provides classes for creating and reading JAR files.  
 

Uses of Collection in java.beans.beancontext
 

Subinterfaces of Collection in java.beans.beancontext
  BeanContext
           The BeanContext acts a logical heirarchical container for JavaBeans.
  BeanContextServices
           The BeanContextServices interface provides a mechanism for a BeanContext to expose generic "services" to the BeanContextChild objects within.
 

Classes in java.beans.beancontext that implement Collection
  BeanContextServicesSupport
           This helper class provides a utility implementation of the java.beans.beancontext.
  BeanContextSupport
           This helper class provides a utility implementation of the java.beans.beancontext.
 

Fields in java.beans.beancontext declared as Collection
protected  Collection BeanContextMembershipEvent.children
           
 

Methods in java.beans.beancontext with parameters of type Collection
 boolean BeanContextSupport.containsAll(Collection c)
           
 boolean BeanContextSupport.addAll(Collection c)
          add Collection to set of Children (Unsupported)
 boolean BeanContextSupport.removeAll(Collection c)
          remove all specified children (Unsupported)
 boolean BeanContextSupport.retainAll(Collection c)
          retain only specified children (Unsupported)
protected  void BeanContextSupport.serialize(ObjectOutputStream oos, Collection coll)
           
protected  void BeanContextSupport.deserialize(ObjectInputStream ois, Collection coll)
          used by readObject to deserialize a collection
 

Constructors in java.beans.beancontext with parameters of type Collection
BeanContextMembershipEvent.BeanContextMembershipEvent(BeanContext bc, Collection changes)
          Contruct a BeanContextMembershipEvent
 

Uses of Collection in java.security.cert
 

Methods in java.security.cert that return Collection
abstract  Collection CertificateFactorySpi.engineGenerateCertificates(InputStream inStream)
          Returns a (possibly empty) collection view of the certificates read from the given input stream inStream.
abstract  Collection CertificateFactorySpi.engineGenerateCRLs(InputStream inStream)
          Returns a (possibly empty) collection view of the CRLs read from the given input stream inStream.
 Collection CertificateFactory.generateCertificates(InputStream inStream)
          Returns a (possibly empty) collection view of the certificates read from the given input stream inStream.
 Collection CertificateFactory.generateCRLs(InputStream inStream)
          Returns a (possibly empty) collection view of the CRLs read from the given input stream inStream.
 

Uses of Collection in java.util
 

Subinterfaces of Collection in java.util
  List
          An ordered Collection (also known as a sequence).
  Set
          A Collection that contains no duplicate elements.
  SortedSet
          A Set that further guarantees that its iterator will traverse the Set in ascending element order, sorted according to the natural ordering of its elements (see Comparable), or by a Comparator provided at SortedSet creation time.
 

Classes in java.util that implement Collection
  AbstractCollection
          This class provides a skeletal implementation of the Collection interface, to minimize the effort required to implement this interface.
  AbstractList
          This class provides a skeletal implementation of the List interface to minimize the effort required to implement this interface backed by a "random access" data store (such as an array).
  AbstractSequentialList
          This class provides a skeletal implementation of the List interface to minimize the effort required to implement this interface backed by a "sequential access" data store (such as a linked list).
  AbstractSet
          This class provides a skeletal implementation of the Set interface to minimize the effort required to implement this interface.
  ArrayList
          Resizable-array implementation of the List interface.
  HashSet
          This class implements the Set interface, backed by a hash table (actually a HashMap).
  LinkedList
          Linked list implementation of the List interface.
  Stack
          The Stack class represents a last-in-first-out (LIFO) stack of objects.
  TreeSet
          This class implements the TreeSet interface, backed by a TreeMap.
  Vector
          The Vector class implements a growable array of objects.
 

Methods in java.util that return Collection
 Collection Hashtable.values()
          Returns a Collection view of the values contained in this Hashtable.
 Collection AbstractMap.values()
          Returns a Collection view of the values contained in this Map.
 Collection HashMap.values()
          Returns a Collection view of the values contained in this HashMap.
static Collection Collections.unmodifiableCollection(Collection c)
          Returns an unmodifiable view of the specified Collection.
static Collection Collections.synchronizedCollection(Collection c)
          Returns a synchronized (thread-safe) Collection backed by the specified Collection.
 Collection Map.values()
          Returns a Collection view of the values contained in this Map.
 Collection TreeMap.values()
          Returns a Collection view of the values contained in this TreeMap.
 

Methods in java.util with parameters of type Collection
 boolean Set.containsAll(Collection c)
          Returns true if this Set contains all of the elements of the specified Collection.
 boolean Set.addAll(Collection c)
          Adds all of the elements in the specified Collection to this Set if they're not already present (optional operation).
 boolean Set.retainAll(Collection c)
          Retains only the elements in this Set that are contained in the specified Collection (optional operation).
 boolean Set.removeAll(Collection c)
          Removes from this Set all of its elements that are contained in the specified Collection (optional operation).
 boolean AbstractCollection.containsAll(Collection c)
          Returns true if this Collection contains all of the elements in the specified Collection.
 boolean AbstractCollection.addAll(Collection c)
          Adds all of the elements in the specified Collection to this Collection (optional operation).
 boolean AbstractCollection.removeAll(Collection c)
          Removes from this Collection all of its elements that are contained in the specified Collection (optional operation).
 boolean AbstractCollection.retainAll(Collection c)
          Retains only the elements in this Collection that are contained in the specified Collection (optional operation).
 boolean AbstractList.addAll(int index, Collection c)
          Inserts all of the elements in in the specified Collection into this List at the specified position (optional operation).
 boolean AbstractSequentialList.addAll(int index, Collection c)
          Inserts all of the elements in in the specified Collection into this List at the specified position.
static Object Collections.min(Collection coll)
          Returns the minimum element of the given Collection, according to the natural ordering of its elements.
static Object Collections.min(Collection coll, Comparator comp)
          Returns the minimum element of the given Collection, according to the order induced by the specified Comparator.
static Object Collections.max(Collection coll)
          Returns the maximum element of the given Collection, according to the natural ordering of its elements.
static Object Collections.max(Collection coll, Comparator comp)
          Returns the maximum element of the given Collection, according to the order induced by the specified Comparator.
static Collection Collections.unmodifiableCollection(Collection c)
          Returns an unmodifiable view of the specified Collection.
static Collection Collections.synchronizedCollection(Collection c)
          Returns a synchronized (thread-safe) Collection backed by the specified Collection.
static Enumeration Collections.enumeration(Collection c)
          Returns an Enumeration over the specified Collection.
 boolean TreeSet.addAll(Collection c)
          Adds all of the elements in the specified Collection to this TreeSet.
 boolean Vector.containsAll(Collection c)
          Returns true if this Vector contains all of the elements in the specified Collection.
 boolean Vector.addAll(Collection c)
          Appends all of the elements in the specified Collection to the end of this this Vector, in the order that they are returned by the specified Collection's Iterator.
 boolean Vector.removeAll(Collection c)
          Removes from this Vector all of its elements that are contained in the specified Collection.
 boolean Vector.retainAll(Collection c)
          Retains only the elements in this Vector that are contained in the specified Collection.
 boolean Vector.addAll(int index, Collection c)
          Inserts all of the elements in in the specified Collection into this Vector at the specified position.
 boolean LinkedList.addAll(Collection c)
          Appends all of the elements in the specified Collection to the end of this this LinkedList, in the order that they are returned by the specified Collection's Iterator.
 boolean LinkedList.addAll(int index, Collection c)
          Inserts all of the elements in the specified Collection into this LinkedList, starting at the specified position.
 boolean Collection.containsAll(Collection c)
          Returns true if this Collection contains all of the elements in the specified Collection.
 boolean Collection.addAll(Collection c)
          Adds all of the elements in the specified Collection to this Collection (optional operation).
 boolean Collection.removeAll(Collection c)
          Removes from this Collection all of its elements that are contained in the specified Collection (optional operation).
 boolean Collection.retainAll(Collection c)
          Retains only the elements in this Collection that are contained in the specified Collection (optional operation).
 boolean List.containsAll(Collection c)
          Returns true if this List contains all of the elements of the specified Collection.
 boolean List.addAll(Collection c)
          Appends all of the elements in the specified Collection to the end of this this List, in the order that they are returned by the specified Collection's Iterator (optional operation).
 boolean List.addAll(int index, Collection c)
          Inserts all of the elements in the specified Collection into this List at the specified position (optional operation).
 boolean List.removeAll(Collection c)
          Removes from this List all of its elements that are contained in the specified Collection (optional operation).
 boolean List.retainAll(Collection c)
          Retains only the elements in this List that are contained in the specified Collection (optional operation).
 boolean ArrayList.addAll(Collection c)
          Appends all of the elements in the specified Collection to the end of this this ArrayList, in the order that they are returned by the specified Collection's Iterator.
 boolean ArrayList.addAll(int index, Collection c)
          Inserts all of the elements in the specified Collection into this ArrayList, starting at the specified position.
 

Constructors in java.util with parameters of type Collection
TreeSet.TreeSet(Collection c)
          Constructs a new TreeSet containing the elements in the specified Collection, sorted according to the elements' natural order.
Vector.Vector(Collection c)
          Constructs a vector containing the elements of the specified collection, in the order they are returned by the collection's iterator.
LinkedList.LinkedList(Collection c)
          Constructs a LinkedList containing the elements of the specified Collection, in the order they are returned by the Collection's iterator.
HashSet.HashSet(Collection c)
          Constructs a new HashSet containing the elements in the specified Collection.
ArrayList.ArrayList(Collection c)
          Constructs an ArrayList containing the elements of the specified Collection, in the order they are returned by the Collection's iterator.
 

Uses of Collection in java.util.jar
 

Methods in java.util.jar that return Collection
 Collection Attributes.values()
          Returns a Collection view of the attribute values contained in this Map.
 


Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.