Package | Description |
---|---|
org.apache.commons.collections4.comparators |
This package contains implementations of the
Comparator interface. |
Modifier and Type | Method and Description |
---|---|
static BooleanComparator |
BooleanComparator.booleanComparator(boolean trueFirst)
Returns a BooleanComparator instance that sorts
trueFirst values before
!trueFirst values. |
static BooleanComparator |
BooleanComparator.getFalseFirstComparator()
Returns a BooleanComparator instance that sorts
false values before true values. |
static BooleanComparator |
BooleanComparator.getTrueFirstComparator()
Returns a BooleanComparator instance that sorts
true values before false values. |
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.