Priority(String string, Integer integer)
  • string

    The name of this priority.

  • integer

    An integer measuring the importance of this Priority.

stringSource Codeshared actual String string

The name of this priority.

Inherited Attributes
Attributes inherited from: Object
compareSource Codeshared actual Comparison compare(Priority other)

Compares this value with the given value. Implementations must respect the constraints that:

  • x==y if and only if x<=>y == equal (consistency with equals()),
  • if x>y then y<x (symmetry), and
  • if x>y and y>z then x>z (transitivity).
Inherited Methods
Methods inherited from: Object
Methods inherited from: Comparable<Other>