Top Description Methods
org.eclipse.collections.api.block.comparator.primitive

public Interface BooleanComparator

extends Serializable
Annotations
@FunctionalInterface
Imports
java.io.Serializable

BooleanComparator is a primitive Comparator that takes two arguments of type boolean and otherwise follows the contract of java.util.Comparator. This comparator can be used to sort primitive collections, which support indirect sorting, if a sort order other thant the natural one of the collection elements is required. This file was automatically generated from template file primitiveComparator.stg.

Method Summary

Modifier and TypeMethod and Description
public int
compare(boolean value1, boolean value2)

Method Detail

compareback to summary
public int compare(boolean value1, boolean value2)