Package app.babylon.table.column
Interface BitList
public interface BitList
A compact immutable sequence of boolean values backed by a bit set.
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
builder
Creates a mutable bit-list builder.- Returns:
- new builder
-
get
boolean get(int i) Returns the bit value at the supplied index.- Parameters:
i- zero-based index- Returns:
- bit value
-
size
int size()Returns the number of bits.- Returns:
- bit-list size
-
copy
BitList copy()Returns an immutable copy of this bit list.- Returns:
- copied bit list
-