public class DoubleSets
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DoubleSets.UnmodifiableSet
Unmodifyable Set wrapper that helps is used with unmodifyableSet function
|
| Constructor and Description |
|---|
DoubleSets() |
| Modifier and Type | Method and Description |
|---|---|
static DoubleSet |
empty()
EmptySet getter
|
static DoubleSet |
singleton(double element)
Creates a Singleton set of a given element
|
static DoubleNavigableSet |
synchronize(DoubleNavigableSet s)
Creates a Synchronized NavigableSet while preserving the ITrimmable interface
|
static DoubleNavigableSet |
synchronize(DoubleNavigableSet s,
java.lang.Object mutex)
Creates a Synchronized NavigableSet while preserving the ITrimmable interface
|
static DoubleOrderedSet |
synchronize(DoubleOrderedSet s)
Creates a Synchronized OrderedSet while preserving the ITrimmable interface
|
static DoubleOrderedSet |
synchronize(DoubleOrderedSet s,
java.lang.Object mutex)
Creates a Synchronized OrderedSet while preserving the ITrimmable interface
|
static DoubleSet |
synchronize(DoubleSet s)
Creates a Synchronized set while preserving the ITrimmable interface
|
static DoubleSet |
synchronize(DoubleSet s,
java.lang.Object mutex)
Creates a Synchronized set while preserving the ITrimmable interface
|
static DoubleSortedSet |
synchronize(DoubleSortedSet s)
Creates a Synchronized SortedSet while preserving the ITrimmable interface
|
static DoubleSortedSet |
synchronize(DoubleSortedSet s,
java.lang.Object mutex)
Creates a Synchronized SortedSet while preserving the ITrimmable interface
|
static DoubleNavigableSet |
unmodifiable(DoubleNavigableSet s)
Creates Unmodifyable NavigableSet wrapper
|
static DoubleOrderedSet |
unmodifiable(DoubleOrderedSet s)
Creates Unmodifyable OrderedSet wrapper
|
static DoubleSet |
unmodifiable(DoubleSet s)
Creates Unmodifyable Set wrapper
|
static DoubleSortedSet |
unmodifiable(DoubleSortedSet s)
Creates Unmodifyable SortedSet wrapper
|
public static DoubleSet empty()
public static DoubleSet synchronize(DoubleSet s)
s - the set that should be synchronizedpublic static DoubleSet synchronize(DoubleSet s, java.lang.Object mutex)
s - the set that should be synchronizedmutex - controller for accesspublic static DoubleSortedSet synchronize(DoubleSortedSet s)
s - the set that should be synchronizedpublic static DoubleSortedSet synchronize(DoubleSortedSet s, java.lang.Object mutex)
s - the set that should be synchronizedmutex - controller for accesspublic static DoubleOrderedSet synchronize(DoubleOrderedSet s)
s - the set that should be synchronizedpublic static DoubleOrderedSet synchronize(DoubleOrderedSet s, java.lang.Object mutex)
s - the set that should be synchronizedmutex - controller for accesspublic static DoubleNavigableSet synchronize(DoubleNavigableSet s)
s - the set that should be synchronizedpublic static DoubleNavigableSet synchronize(DoubleNavigableSet s, java.lang.Object mutex)
s - the set that should be synchronizedmutex - controller for accesspublic static DoubleSet unmodifiable(DoubleSet s)
s - set that should be made unmodifiablepublic static DoubleSortedSet unmodifiable(DoubleSortedSet s)
s - sortedSet that should be made unmodifiablepublic static DoubleOrderedSet unmodifiable(DoubleOrderedSet s)
s - OrderedSet that should be made unmodifiablepublic static DoubleNavigableSet unmodifiable(DoubleNavigableSet s)
s - navigableSet that should be made unmodifiablepublic static DoubleSet singleton(double element)
element - the element that should be converted into a singleton set