public class FloatSets
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FloatSets.UnmodifiableSet
Unmodifyable Set wrapper that helps is used with unmodifyableSet function
|
| Modifier and Type | Field and Description |
|---|---|
static FloatSet |
EMPTY
Empty Set Variable
|
| Constructor and Description |
|---|
FloatSets() |
| Modifier and Type | Method and Description |
|---|---|
static FloatSet |
empty()
EmptySet getter
|
static FloatSet |
singletonSet(float element)
Creates a Singleton set of a given element
|
static FloatNavigableSet |
synchronizedSet(FloatNavigableSet s)
Creates a Synchronized NavigableSet while preserving the ITrimmable interface
|
static FloatNavigableSet |
synchronizedSet(FloatNavigableSet s,
java.lang.Object mutex)
Creates a Synchronized NavigableSet while preserving the ITrimmable interface
|
static FloatSet |
synchronizedSet(FloatSet s)
Creates a Synchronized set while preserving the ITrimmable interface
|
static FloatSet |
synchronizedSet(FloatSet s,
java.lang.Object mutex)
Creates a Synchronized set while preserving the ITrimmable interface
|
static FloatSortedSet |
synchronizedSet(FloatSortedSet s)
Creates a Synchronized SortedSet while preserving the ITrimmable interface
|
static FloatSortedSet |
synchronizedSet(FloatSortedSet s,
java.lang.Object mutex)
Creates a Synchronized SortedSet while preserving the ITrimmable interface
|
static FloatNavigableSet |
unmodifiable(FloatNavigableSet s)
Creates Unmodifyable NavigableSet wrapper
|
static FloatSet |
unmodifiable(FloatSet s)
Creates Unmodifyable Set wrapper
|
static FloatSortedSet |
unmodifiable(FloatSortedSet s)
Creates Unmodifyable SortedSet wrapper
|
public static final FloatSet EMPTY
public static FloatSet empty()
public static FloatSet synchronizedSet(FloatSet s)
s - the set that should be synchronizedpublic static FloatSet synchronizedSet(FloatSet s, java.lang.Object mutex)
s - the set that should be synchronizedmutex - controller for accesspublic static FloatSortedSet synchronizedSet(FloatSortedSet s)
s - the set that should be synchronizedpublic static FloatSortedSet synchronizedSet(FloatSortedSet s, java.lang.Object mutex)
s - the set that should be synchronizedmutex - controller for accesspublic static FloatNavigableSet synchronizedSet(FloatNavigableSet s)
s - the set that should be synchronizedpublic static FloatNavigableSet synchronizedSet(FloatNavigableSet s, java.lang.Object mutex)
s - the set that should be synchronizedmutex - controller for accesspublic static FloatSet unmodifiable(FloatSet s)
s - set that should be made unmodifyablepublic static FloatSortedSet unmodifiable(FloatSortedSet s)
s - sortedSet that should be made unmodifyablepublic static FloatNavigableSet unmodifiable(FloatNavigableSet s)
s - navigableSet that should be made unmodifyablepublic static FloatSet singletonSet(float element)
element - the element that should be converted into a singleton set