public class BooleanCollections
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BooleanCollections.EmptyCollection
Empty Collection implementation for the empty collection function
|
static class |
BooleanCollections.SynchronizedCollection
Synchronized Collection Wrapper for the synchronizedCollection function
|
static class |
BooleanCollections.UnmodifiableCollection
Unmodifyable Collection Wrapper for the unmodifyableCollection method
|
| Modifier and Type | Field and Description |
|---|---|
static BooleanCollection |
EMPTY
Empty Collection Reference
|
| Constructor and Description |
|---|
BooleanCollections() |
| Modifier and Type | Method and Description |
|---|---|
static BooleanCollection |
empty()
Returns a Immutable EmptyCollection instance that is automatically casted.
|
static BooleanCollection |
synchronize(BooleanCollection c)
Returns a synchronized Collection instance based on the instance given.
|
static BooleanCollection |
synchronize(BooleanCollection c,
java.lang.Object mutex)
Returns a synchronized Collection instance based on the instance given.
|
static BooleanCollection |
unmodifiable(BooleanCollection c)
Returns a Immutable Collection instance based on the instance given.
|
public static final BooleanCollection EMPTY
public static BooleanCollection empty()
public static BooleanCollection unmodifiable(BooleanCollection c)
c - that should be made immutable/unmodifiablepublic static BooleanCollection synchronize(BooleanCollection c)
c - that should be synchronizedpublic static BooleanCollection synchronize(BooleanCollection c, java.lang.Object mutex)
c - that should be synchronizedmutex - is the controller of the synchronization block.