Class SynchSet<E>

java.lang.Object
one.microstream.collections.SynchSet<E>
All Implemented Interfaces:
Iterable<E>, Consumer<E>, CapacityCarrying, CapacityExtendable, ConsolidatableCollection, ExtendedCollection<E>, OptimizableCollection, ReleasingCollection<E>, Sized, Truncateable, XAddGetCollection<E>, XAddGetSet<E>, XAddingCollection<E>, XAddingSet<E>, XCollection<E>, XGettingCollection<E>, XGettingSet<E>, XIterable<E>, XJoinable<E>, XProcessingCollection<E>, XProcessingSet<E>, XPutGetCollection<E>, XPutGetSet<E>, XPuttingCollection<E>, XPuttingSet<E>, XRemovingCollection<E>, XRemovingSet<E>, XSet<E>, Synchronized, ThreadSafe, Processable<E>, Clearable, Copyable

public final class SynchSet<E>
extends Object
implements XSet<E>, Synchronized
Synchronization wrapper class that wraps an XSet instance in public synchronized delegate methods.
  • Constructor Details

    • SynchSet

      public SynchSet​(XSet<E> set)
      Creates a new SynchSet that wraps the passed XSet instance.
      Parameters:
      set - the XSet instance to be wrapped (synchronized).
  • Method Details