SpecificComparable<T, U extends Object>  class 
    abstract
 
An easy way to implement Comparable in a way that compareTo aggrees with > and == operators
This is a child class of EasyComparable that only takes the covariant
type T on the > and < operators
- Inheritance
- 
    - Object
- EasyComparable<T> 
- SpecificComparable
 
- Implementers
- Available extensions
- Annotations
- 
    - @immutable
 
Constructors
Properties
- hashCode → int
- 
  The hash code for this object.
  no setteroverride
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  compareTo(T other) → int 
- 
  Compares this object to another object.
  inherited
- 
  limitTo(T min, T max) → T 
- 
      Available on T, provided by the ComparableExtensions extension returns this if it is betweenminandmax(inclusive) otherwise returnsminormaxwhichever is closer
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  withLowerLimit(T min) → T 
- 
      Available on T, provided by the ComparableExtensions extension returns this if it is not greater than max, otherwise max
- 
  withUpperLimit(T max) → T 
- 
      Available on T, provided by the ComparableExtensions extension returns this if it is not greater thanmax, otherwisemax
Operators
- 
  operator <(covariant U other) → bool 
- 
  < operator to compare this and other. Overriding it is optional, it has a default implementation that uses == and > operatorsoverride
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  override
- 
  operator >(covariant U other) → bool 
- 
  > operator to compare this and other. If this is overridden, the < operator uses it to compute its value, but can also be overriddenoverride