PCJ API
Version 1.2

bak.pcj.set
Class UnmodifiableBooleanSet

java.lang.Object
  extended bybak.pcj.UnmodifiableBooleanCollection
      extended bybak.pcj.set.UnmodifiableBooleanSet
All Implemented Interfaces:
BooleanCollection, BooleanSet

public class UnmodifiableBooleanSet
extends UnmodifiableBooleanCollection
implements BooleanSet

This class represents unmodifiable sets of boolean values.

Since:
1.0
See Also:
Collections.unmodifiableSet(java.util.Set)

Field Summary
 
Fields inherited from class bak.pcj.UnmodifiableBooleanCollection
collection
 
Constructor Summary
UnmodifiableBooleanSet(BooleanSet s)
          Creates a new unmodifiable set on an existing set.
 
Methods inherited from class bak.pcj.UnmodifiableBooleanCollection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, trimToSize
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface bak.pcj.BooleanCollection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, trimToSize
 

Constructor Detail

UnmodifiableBooleanSet

public UnmodifiableBooleanSet(BooleanSet s)
Creates a new unmodifiable set on an existing set. The result is a set whose elements and behaviour is the same as the existing set's except that the new set cannot be modified.

Parameters:
s - the existing set to make unmodifiable.
Throws:
NullPointerException - if s is null.

PCJ API
Version 1.2

Report a bug or request a feature.
Further information on the development and latest release of PCJ can be found at the project homepage.

Primitive Collections for Java is released under the GNU Lesser General Public License.
Copyright © 2002, 2003 Søren Bak. All Rights Reserved.

Hosted by SourceForge.net
SourceForge.net Logo