public class BoolVector extends Object
| Constructor and Description |
|---|
BoolVector()
Create a default vector..
|
BoolVector(int cap)
Create a vector for the specified capacity.
|
| Modifier and Type | Method and Description |
|---|---|
int |
capacity()
Returns the current capacity
|
boolean |
get(int ix)
Get a value from the vector.
|
void |
or(BoolVector bv)
Does a bitwise OR of the contents of THIS vector and the parameter
vector, and store the result in this vector.
|
boolean |
set(int ix,
boolean value)
Set a value in the vector.
|
int |
size()
Returns the current #of elements.
|
public BoolVector()
public BoolVector(int cap)
public boolean set(int ix,
boolean value)
public boolean get(int ix)
public int size()
public int capacity()
public void or(BoolVector bv)
bv - Copyright © 2017 etc.to. All rights reserved.