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

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

Introduction

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

The text is from its open source code.

Subclass

org.apache.commons.collections.comparators.NullComparator has subclasses.
Click this link to see all its subclasses.

Constructor

NullComparator()
Construct an instance that sorts null higher than any non-null object it is compared with.
NullComparator(Comparator nonNullComparator)
Construct an instance that sorts null higher than any non-null object it is compared with.
NullComparator(boolean nullsAreHigh)
Construct an instance that sorts null higher or lower than any non-null object it is compared with.
NullComparator(Comparator nonNullComparator, boolean nullsAreHigh)
Construct an instance that sorts null higher or lower than any non-null object it is compared with.

Method

intcompare(Object o1, Object o2)
Perform a comparison between two objects.