Description
In SingleKeyValueTuple.toString(), the code is shown as follows.
return "SingleKeyValueTuple[" + cell == null ? keyPtr.get() == UNITIALIZED_KEY_BUFFER ? "null" : Bytes.toStringBinary(keyPtr.get(),keyPtr.getOffset(),keyPtr.getLength()) : cell.toString() + "]";
actually, the code runs in the following order.
("SingleKeyValueTuple[" + cell) == null ? keyPtr.get() == UNITIALIZED_KEY_BUFFER ? "null" : Bytes.toStringBinary() : (cell.toString() + "]");
Therefore the result is weird.
BTW, value = condition1 ? condition2 ? X : Y : Z is also confusing, using if can be more clear.