'public static NodeValue.newBitVector(final boolean value)' convenience method
Updated by Andrei Tatarnikov almost 6 years ago
- Assignee changed from Andrei Tatarnikov to Sergey Smolov
In my opinion, this task is ambiguous. It is not clear to me what the following construct should mean: NodeValue.newBitVector(true, 4). It can be: 0001 or 1111?
I can implement method NodeValue.newBitVector(boolean), but it will return 1-bit vector (that is '1' or '0').
As for boolean-based bit vectors of arbitrary size, we need first to agree on some convention.
Updated by Sergey Smolov almost 6 years ago
- Subject changed from 'public static NodeValue.newBitVector(final boolean value, final int size)' convenience method to 'public static NodeValue.newBitVector(final boolean value)' convenience method
- Assignee changed from Sergey Smolov to Andrei Tatarnikov
Yes, it's ok for me to have the "NodeValue.newBitVector(boolean)" method only.
I've changed the feature header respectively.