Java, Eclipse Collections, Open Source, Software Development, Programming.
type instead of Boolean? Another option using a Map to represent a pair of the same type would be to use an Enum for the key, where the names in the Enum have intention revealing names (eg. Filter.SELECTED, Filter.REJECTED). Then we could write map.get(Filter.SELECTED) instead of map.get(true). Why