public interface ConcurrentSkipSetStrategy<T extends Comparable<T>> extends IsSortedSetStrategy<ConcurrentSkipListSet<T>,T>
Strategy for a concurrent skip set.
| Modifier and Type | Method and Description |
|---|---|
static <T extends Comparable<T>> |
create()
Creates a new concurrent skip set strategy.
|
default ConcurrentSkipListSet<T> |
get()
Returns a new collection of requested type.
|
default ConcurrentSkipListSet<T> |
get(Collection<T> collection)
Returns a new collection for the given collection.
|
default ConcurrentSkipListSet<T> |
get(Collection<T> collection,
Comparator<T> comparator)
Returns a new collection for the given collection.
|
default ConcurrentSkipListSet<T> |
get(Comparator<T> comparator)
Returns a new collection of requested type.
|
isList, isQueue, isSetdefault ConcurrentSkipListSet<T> get(Collection<T> collection)
IsSortedSetStrategyReturns a new collection for the given collection.
get in interface IsCollectionStrategy<ConcurrentSkipListSet<T extends Comparable<T>>,T extends Comparable<T>>get in interface IsSetStrategy<ConcurrentSkipListSet<T extends Comparable<T>>,T extends Comparable<T>>get in interface IsSortedSetStrategy<ConcurrentSkipListSet<T extends Comparable<T>>,T extends Comparable<T>>collection - input collectiondefault ConcurrentSkipListSet<T> get(Collection<T> collection, Comparator<T> comparator)
IsSortedSetStrategyReturns a new collection for the given collection.
get in interface IsSortedSetStrategy<ConcurrentSkipListSet<T extends Comparable<T>>,T extends Comparable<T>>collection - input collectioncomparator - comparator for objectsdefault ConcurrentSkipListSet<T> get()
IsSortedSetStrategyReturns a new collection of requested type.
get in interface IsCollectionStrategy<ConcurrentSkipListSet<T extends Comparable<T>>,T extends Comparable<T>>get in interface IsSetStrategy<ConcurrentSkipListSet<T extends Comparable<T>>,T extends Comparable<T>>get in interface IsSortedSetStrategy<ConcurrentSkipListSet<T extends Comparable<T>>,T extends Comparable<T>>default ConcurrentSkipListSet<T> get(Comparator<T> comparator)
IsSortedSetStrategyReturns a new collection of requested type.
get in interface IsSortedSetStrategy<ConcurrentSkipListSet<T extends Comparable<T>>,T extends Comparable<T>>comparator - comparator for objectsstatic <T extends Comparable<T>> ConcurrentSkipSetStrategy<T> create()
Creates a new concurrent skip set strategy.
T - type for the objects in the sorted setCopyright © 2016–2017. All rights reserved.