public interface Bits
Modifier and Type | Interface and Description |
---|---|
static class |
Bits.MatchAllBits
Bits impl of the specified length with all bits set.
|
static class |
Bits.MatchNoBits
Bits impl of the specified length with no bits set.
|
Modifier and Type | Field and Description |
---|---|
static Bits[] |
EMPTY_ARRAY |
static final Bits[] EMPTY_ARRAY
boolean get(int index)
index
.index
- index, should be non-negative and < length()
.
The result of passing negative or out of bounds values is undefined
by this interface, just don't do it!true
if the bit is set, false
otherwise.int length()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.