Package generic.stl

# Class SelfComparator<T extends Comparable<T>>

java.lang.Object
generic.stl.SelfComparator<T>

All Implemented Interfaces:
  `Comparator<T>`

public class SelfComparator<T extends Comparable<T>> extends Object implements Comparator<T>

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SelfComparator()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `compare(T o1, T o2)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface java.util.Comparator

  `equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- ## Constructor Details

  - ### SelfComparator

    public SelfComparator()

- ## Method Details

  - ### compare

    public int compare(T o1, T o2)
    Specified by:
      `compare` in interface `Comparator<T extends Comparable<T>>`