Java org.apache.commons.collections.comparators BooleanComparator fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.collections.comparators BooleanComparator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.collections.comparators BooleanComparator.

The text is from its open source code.

Constructor

BooleanComparator(boolean trueFirst)
Creates a BooleanComparator that sorts trueFirst values before !trueFirst values.

Method

intcompare(Object obj1, Object obj2)
Compares two arbitrary Objects.
intcompare(Boolean b1, Boolean b2)
Compares two non-null Boolean objects according to the value of #sortsTrueFirst() .