3 ms·
Then don't use null. Use { false, true, 2 } or { false, true, SomeNewEnumerationLabel }.
by AnimalMuppet 7y ago
Then don't use null. Use { false, true, 2 } or { false, true, SomeNewEnumerationLabel }.
- gauravphoenix 7y agoyeah, I just wish there was a first class citizen support to represent this. I think Optional<Boolean> should suffice.