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
|
| Constructor and Description |
|---|
FloatSets() |
| Modifier and Type | Method and Description |
|---|---|
static FloatSet |
empty()
EmptySet getter
|
static FloatSet |
singleton(float element)
Creates a Singleton set of a given element
|
static FloatNavigableSet |
synchronize(FloatNavigableSet s)
Creates a Synchronized NavigableSet while preserving the ITrimmable interface
|
static FloatNavigableSet |
synchronize(FloatNavigableSet s,
java.lang.Object mutex)
Creates a Synchronized NavigableSet while preserving the ITrimmable interface
|
static FloatOrderedSet |
synchronize(FloatOrderedSet s)
Creates a Synchronized OrderedSet while preserving the ITrimmable interface
|
static FloatOrderedSet |
synchronize(FloatOrderedSet s,
java.lang.Object mutex)
Creates a Synchronized OrderedSet while preserving the ITrimmable interface
|
static FloatSet |
synchronize(FloatSet s)
Creates a Synchronized set while preserving the ITrimmable interface
|
static FloatSet |
synchronize(FloatSet s,
java.lang.Object mutex)
Creates a Synchronized set while preserving the ITrimmable interface
|
static FloatSortedSet |
synchronize(FloatSortedSet s)
Creates a Synchronized SortedSet while preserving the ITrimmable interface
|
static FloatSortedSet |
synchronize(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 FloatOrderedSet |
unmodifiable(FloatOrderedSet s)
Creates Unmodifyable OrderedSet wrapper
|
static FloatSet |
unmodifiable(FloatSet s)
Creates Unmodifyable Set wrapper
|
static FloatSortedSet |
unmodifiable(FloatSortedSet s)
Creates Unmodifyable SortedSet wrapper
|
public static FloatSet empty()
public static FloatSet synchronize(FloatSet s)
s - the set that should be synchronizedpublic static FloatSet synchronize(FloatSet s, java.lang.Object mutex)
s - the set that should be synchronizedmutex - controller for accesspublic static FloatSortedSet synchronize(FloatSortedSet s)
s - the set that should be synchronizedpublic static FloatSortedSet synchronize(FloatSortedSet s, java.lang.Object mutex)
s - the set that should be synchronizedmutex - controller for accesspublic static FloatOrderedSet synchronize(FloatOrderedSet s)
s - the set that should be synchronizedpublic static FloatOrderedSet synchronize(FloatOrderedSet s, java.lang.Object mutex)
s - the set that should be synchronizedmutex - controller for accesspublic static FloatNavigableSet synchronize(FloatNavigableSet s)
s - the set that should be synchronizedpublic static FloatNavigableSet synchronize(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 unmodifiablepublic static FloatSortedSet unmodifiable(FloatSortedSet s)
s - sortedSet that should be made unmodifiablepublic static FloatOrderedSet unmodifiable(FloatOrderedSet s)
s - OrderedSet that should be made unmodifiablepublic static FloatNavigableSet unmodifiable(FloatNavigableSet s)
s - navigableSet that should be made unmodifiablepublic static FloatSet singleton(float element)
element - the element that should be converted into a singleton set