bak.pcj.set
Class UnmodifiableDoubleSet
java.lang.Object
bak.pcj.UnmodifiableDoubleCollection
bak.pcj.set.UnmodifiableDoubleSet
- All Implemented Interfaces:
- DoubleCollection, DoubleSet
- public class UnmodifiableDoubleSet
- extends UnmodifiableDoubleCollection
- implements DoubleSet
This class represents unmodifiable sets of double values.
- Since:
- 1.0
- See Also:
Collections.unmodifiableSet(java.util.Set)
Methods inherited from class bak.pcj.UnmodifiableDoubleCollection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, trimToSize |
Methods inherited from interface bak.pcj.DoubleCollection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, trimToSize |
UnmodifiableDoubleSet
public UnmodifiableDoubleSet(DoubleSet 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.
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