| Package | Description |
|---|---|
| it.unimi.dsi.fastutil.booleans |
Provides type-specific classes for boolean elements or keys.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBooleanSet
An abstract class providing basic methods for sets implementing a type-specific interface.
|
class |
BooleanArraySet
A simple, brute-force implementation of a set based on a backing array.
|
class |
BooleanOpenHashSet
A type-specific hash set with with a fast, small-footprint implementation.
|
static class |
BooleanSets.EmptySet
An immutable class representing the empty set and implementing a type-specific set interface.
|
static class |
BooleanSets.Singleton
An immutable class representing a type-specific singleton set.
|
static class |
BooleanSets.SynchronizedSet
A synchronized wrapper class for sets.
|
static class |
BooleanSets.UnmodifiableSet
An unmodifiable wrapper class for sets.
|
| Modifier and Type | Method and Description |
|---|---|
static BooleanSet |
BooleanSets.singleton(boolean element)
Returns a type-specific immutable set containing only the specified element.
|
static BooleanSet |
BooleanSets.singleton(Boolean element)
Returns a type-specific immutable set containing only the specified element.
|
static BooleanSet |
BooleanSets.synchronize(BooleanSet s)
Returns a synchronized type-specific set backed by the given type-specific set.
|
static BooleanSet |
BooleanSets.synchronize(BooleanSet s,
Object sync)
Returns a synchronized type-specific set backed by the given type-specific set, using an assigned object to synchronize.
|
static BooleanSet |
BooleanSets.unmodifiable(BooleanSet s)
Returns an unmodifiable type-specific set backed by the given type-specific set.
|
| Modifier and Type | Method and Description |
|---|---|
static BooleanSet |
BooleanSets.synchronize(BooleanSet s)
Returns a synchronized type-specific set backed by the given type-specific set.
|
static BooleanSet |
BooleanSets.synchronize(BooleanSet s,
Object sync)
Returns a synchronized type-specific set backed by the given type-specific set, using an assigned object to synchronize.
|
static BooleanSet |
BooleanSets.unmodifiable(BooleanSet s)
Returns an unmodifiable type-specific set backed by the given type-specific set.
|
| Constructor and Description |
|---|
SynchronizedSet(BooleanSet s) |
SynchronizedSet(BooleanSet s,
Object sync) |
UnmodifiableSet(BooleanSet s) |
Copyright © 2020. All rights reserved.