Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.cantaloop.tools.collection
Class PrefilledSet  view PrefilledSet download PrefilledSet.java

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractSet
          extended byjava.util.HashSet
              extended byorg.cantaloop.tools.collection.PrefilledSet
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.lang.Iterable, java.io.Serializable, java.util.Set

public class PrefilledSet
extends java.util.HashSet

A set which can be initialized so that it contains already some elements. These values are given in the constructor.

Version:
@version@ ($Revision: 1.2 $)

Field Summary
 
Fields inherited from class java.util.HashSet
 
Constructor Summary
PrefilledSet(java.lang.Object[] content)
           
 
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
 

Constructor Detail

PrefilledSet

public PrefilledSet(java.lang.Object[] content)