All Questions
1 question
1
vote
2
answers
125
views
Performant functional evaluation for enum value
I have a Java enum which represents the side of an order (enum Side {ASK, BID}) and I'm constantly writing code with which I'd like to use the ternary operator, e.g....