Actions
Feature #8702
closed'public static NodeValue.newBitVector(final boolean value)' convenience method
Start date:
02/05/2018
Due date:
% Done:
100%
Estimated time:
Published in build:
0.4.32-beta-180820
Actions
Added by Sergey Smolov almost 7 years ago. Updated over 6 years ago.
100%
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.
Yes, it's ok for me to have the "NodeValue.newBitVector(boolean)" method only.
I've changed the feature header respectively.
Done in 0de32d2d.