Packages

c

cats.kernel.instances

ShortOrder

class ShortOrder extends Order[Short] with Hash[Short] with ShortBounded with ShortEnumerable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ShortOrder
  2. ShortEnumerable
  3. BoundedEnumerable
  4. PartialNextLowerBounded
  5. PartialPreviousUpperBounded
  6. PartialNext
  7. PartialPrevious
  8. ShortBounded
  9. UpperBounded
  10. LowerBounded
  11. Hash
  12. Order
  13. PartialOrder
  14. Eq
  15. Serializable
  16. Serializable
  17. AnyRef
  18. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ShortOrder()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  6. def compare(x: Short, y: Short): Int

    Result of comparing x with y.

    Result of comparing x with y. Returns an Int whose sign is: - negative iff x < y - zero iff x = y - positive iff x > y

    Definition Classes
    ShortOrderOrder
  7. def comparison(x: Short, y: Short): Comparison

    Like compare, but returns a cats.kernel.Comparison instead of an Int.

    Like compare, but returns a cats.kernel.Comparison instead of an Int. Has the benefit of being able to pattern match on, but not as performant.

    Definition Classes
    Order
  8. def cycleNext(a: Short): Short
    Definition Classes
    BoundedEnumerable
  9. def cyclePrevious(a: Short): Short
    Definition Classes
    BoundedEnumerable
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def eqv(x: Short, y: Short): Boolean

    Returns true if x = y, false otherwise.

    Returns true if x = y, false otherwise.

    Definition Classes
    ShortOrderOrderPartialOrderEq
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. def gt(x: Short, y: Short): Boolean

    Returns true if x > y, false otherwise.

    Returns true if x > y, false otherwise.

    Definition Classes
    ShortOrderOrderPartialOrder
  15. def gteqv(x: Short, y: Short): Boolean

    Returns true if x >= y, false otherwise.

    Returns true if x >= y, false otherwise.

    Definition Classes
    ShortOrderOrderPartialOrder
  16. def hash(x: Short): Int

    Returns the hash code of the given object under this hashing scheme.

    Returns the hash code of the given object under this hashing scheme.

    Definition Classes
    ShortOrderHash
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def lt(x: Short, y: Short): Boolean

    Returns true if x < y, false otherwise.

    Returns true if x < y, false otherwise.

    Definition Classes
    ShortOrderOrderPartialOrder
  20. def lteqv(x: Short, y: Short): Boolean

    Returns true if x <= y, false otherwise.

    Returns true if x <= y, false otherwise.

    Definition Classes
    ShortOrderOrderPartialOrder
  21. def max(x: Short, y: Short): Short

    If x > y, return x, else return y.

    If x > y, return x, else return y.

    Definition Classes
    ShortOrderOrder
  22. def maxBound: Short

    Returns the upper limit of a type.

    Returns the upper limit of a type.

    Definition Classes
    ShortBoundedUpperBounded
  23. def membersAscending: Stream[Short]

    Enumerate the members in ascending order.

    Enumerate the members in ascending order.

    Definition Classes
    PartialNextLowerBounded
  24. def membersDescending: Stream[Short]

    Enumerate the members in descending order.

    Enumerate the members in descending order.

    Definition Classes
    PartialPreviousUpperBounded
  25. def min(x: Short, y: Short): Short

    If x < y, return x, else return y.

    If x < y, return x, else return y.

    Definition Classes
    ShortOrderOrder
  26. def minBound: Short

    Returns the lower limit of a type.

    Returns the lower limit of a type.

    Definition Classes
    ShortBoundedLowerBounded
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def neqv(x: Short, y: Short): Boolean

    Returns true if x != y, false otherwise.

    Returns true if x != y, false otherwise.

    Note: this default implementation provided by Order is the same as the one defined in Eq, but for purposes of binary compatibility, the override in Order has not yet been removed. See this discussion.

    Definition Classes
    ShortOrderOrderEq
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  31. val order: Order[Short]
    Definition Classes
    ShortOrderBoundedEnumerable
  32. def partialCompare(x: Short, y: Short): Double

    Result of comparing x with y.

    Result of comparing x with y. Returns NaN if operands are not comparable. If operands are comparable, returns a Double whose sign is:

    • negative iff x < y
    • zero iff x = y
    • positive iff x > y
    Definition Classes
    OrderPartialOrder
  33. def partialComparison(x: Short, y: Short): Option[Comparison]

    Like partialCompare, but returns a cats.kernel.Comparison instead of an Double.

    Like partialCompare, but returns a cats.kernel.Comparison instead of an Double. Has the benefit of being able to pattern match on, but not as performant.

    Definition Classes
    PartialOrder
  34. def partialNext(a: Short): Option[Short]
    Definition Classes
    ShortEnumerablePartialNext
  35. def partialOrder: PartialOrder[Short]
  36. def partialPrevious(a: Short): Option[Short]
    Definition Classes
    ShortEnumerablePartialPrevious
  37. def pmax(x: Short, y: Short): Option[Short]

    Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.

    Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.

    Definition Classes
    PartialOrder
  38. def pmin(x: Short, y: Short): Option[Short]

    Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.

    Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.

    Definition Classes
    PartialOrder
  39. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  40. def toOrdering: Ordering[Short]

    Convert a Order[A] to a scala.math.Ordering[A] instance.

    Convert a Order[A] to a scala.math.Ordering[A] instance.

    Definition Classes
    Order
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. def tryCompare(x: Short, y: Short): Option[Int]

    Result of comparing x with y.

    Result of comparing x with y. Returns None if operands are not comparable. If operands are comparable, returns Some[Int] where the Int sign is:

    • negative iff x < y
    • zero iff x = y
    • positive iff x > y
    Definition Classes
    PartialOrder
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from ShortEnumerable

Inherited from BoundedEnumerable[Short]

Inherited from PartialNextLowerBounded[Short]

Inherited from PartialNext[Short]

Inherited from PartialPrevious[Short]

Inherited from ShortBounded

Inherited from UpperBounded[Short]

Inherited from LowerBounded[Short]

Inherited from Hash[Short]

Inherited from Order[Short]

Inherited from PartialOrder[Short]

Inherited from Eq[Short]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped