Oracle Coherence for C++ API


Set Class Reference

#include <coherence/util/Set.hpp>

Inherits Collection.

Inherited by AbstractSet [virtual], ReadOnlyMultiList [virtual], SafeHashMap::EntrySet [virtual], and WrapperCollections::AbstractWrapperSet [virtual].

List of all members.

Detailed Description

A collection that contains no duplicate elements.

As implied by its name, this interface models the mathematical set abstraction.

The Set interface places additional stipulations on the contracts of all constructors of the Set implementations and on the contracts of the add and equals methods.

The additional stipulation on constructors is, not surprisingly, that all constructors must create a set that contains no duplicate elements.

See also:

Public Types

typedef spec::Handle Handle
 Set Handle definition.
typedef spec::View View
 Set View definition.
typedef spec::Holder Holder
 Set Holder definition.

The documentation for this class was generated from the following file:
Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.