Interface Util.Comparable

Enclosing class:
Util

public static interface Util.Comparable
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns 0 if this and c are equal, >0 if this is greater than c, or <0 if this is less than c.
  • Method Details

    • compareTo

      int compareTo(Util.Comparable c)
      Returns 0 if this and c are equal, >0 if this is greater than c, or <0 if this is less than c.