Packages » Package util » Class Comparator

Class Comparator

Declaration:
<? interface Comparator ?>

Description:
This is a general-purpose comparator interface. Its sole method, Comparator::compare should return -1, 0, or 1 if the first argument is less, equal or greater than the second, respectively

Authors:
  • Dennis Popel

Methods: