Bits.MatchAllBits, Bits.MatchNoBits
EMPTY_ARRAY
Constructor and Description |
---|
MatchNoBits(int len) |
Modifier and Type | Method and Description |
---|---|
boolean |
get(int index)
Returns the value of the bit with the specified
index . |
int |
length()
Returns the number of bits in this set
|
public boolean get(int index)
Bits
index
.get
in interface Bits
index
- index, should be non-negative and < Bits.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.Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.