java.lang.Object | |
↳ | org.springframework.util.comparator.BooleanComparator |
A Comparator for Boolean objects that can sort either true or false first.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TRUE_HIGH | A shared default instance of this comparator, treating true higher than false. | ||||||||||
TRUE_LOW | A shared default instance of this comparator, treating true lower than false. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a BooleanComparator that sorts boolean values based on
the provided flag.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.util.Comparator
|
A shared default instance of this comparator, treating true higher than false.
A shared default instance of this comparator, treating true lower than false.