Package it.unimi.dsi.fastutil.booleans
Type-specific classes for boolean elements or keys.
Not all classes are provided in a boolean-specific version: sorted sets and
maps not generated, as they are useless. Unsorted sets and maps are kept
around for orthogonality, whereas
BooleanCollection
is used by maps with
boolean values.
-
Interface Summary Interface Description BooleanBidirectionalIterator A type-specific bidirectional iterator; provides an additional method to avoid (un)boxing, and the possibility to skip elements backwards.BooleanBigListIterator A type-specificBigListIterator
.BooleanComparator A type-specificComparator
; provides methods to compare two primitive types both as objects and as primitive types.BooleanConsumer A type-specificConsumer
; provides methods to consume a primitive type both as object and as primitive.BooleanIterable A type-specificIterable
that strengthens that specification ofBooleanIterable.iterator()
andBooleanIterable.forEach(Consumer)
.BooleanIterator A type-specificIterator
; provides an additional method to avoid (un)boxing, and the possibility to skip elements.BooleanPredicate A type-specificPredicate
; provides methods to test a primitive type both as object and as primitive.BooleanSpliterator A type-specificSpliterator
; provides an additional methods to avoid (un)boxing, and the possibility to skip elements. -
Class Summary Class Description AbstractBooleanSpliterator An abstract class facilitating the creation of type-specific iterators.BooleanArrays A class providing static methods and objects that do useful things with type-specific arrays.BooleanBigArrays A class providing static methods and objects that do useful things with big arrays.BooleanComparators A class providing static methods and objects that do useful things with comparators.BooleanSpliterators A class providing static methods and objects that do useful things with type-specific spliterators.BooleanSpliterators.AbstractIndexBasedSpliterator A skeletal implementation for a spliterator backed by an index based data store.BooleanSpliterators.EarlyBindingSizeIndexBasedSpliterator A skeletal implementation for a spliterator backed by an index based data store.BooleanSpliterators.EmptySpliterator A class returning no elements and a type-specific spliterator interface.BooleanSpliterators.LateBindingSizeIndexBasedSpliterator A skeletal implementation for a spliterator backed by an index based data store.