public interface BitSet
Modifier and Type | Method and Description |
---|---|
void |
clear(int index)
Sets the bit specified by the index to
false . |
boolean |
get(int index) |
void |
set(int index)
Sets the bit at the specified index to
true . |
int |
size() |
boolean get(int index)
index
- the index of the bit to getvoid set(int index)
true
.index
- the index of the bit to be setvoid clear(int index)
false
.index
- the index of the bit to be clearedint size()
Copyright © 2023. All Rights Reserved.