psp.std

Nth

final class Nth extends AnyVal with Ordered[Nth] with IndexOrNth

A one-based index. In principle Index(n) and Nth(n + 1) have the same behavior for all values n >= 0, assuming things type check. I resist cosmetic implicits.

Linear Supertypes
IndexOrNth, Ordered[Nth], Comparable[Nth], AnyVal, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Nth
  2. IndexOrNth
  3. Ordered
  4. Comparable
  5. AnyVal
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type This = Nth

    Definition Classes
    NthIndexOrNth

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  2. final def ##(): Int

    Definition Classes
    Any
  3. def +(n: Int): Nth

    Definition Classes
    NthIndexOrNth
  4. def -(n: Int): Nth

    Definition Classes
    NthIndexOrNth
  5. def <(that: Nth): Boolean

    Definition Classes
    Ordered
  6. def <=(that: Nth): Boolean

    Definition Classes
    Ordered
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def >(that: Nth): Boolean

    Definition Classes
    Ordered
  9. def >=(that: Nth): Boolean

    Definition Classes
    Ordered
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def compare(that: Nth): Int

    Definition Classes
    Nth → Ordered
  12. def compareTo(that: Nth): Int

    Definition Classes
    Ordered → Comparable
  13. def get: Int

    Definition Classes
    NthIndexOrNth
  14. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  15. def intIndex: Int

    Definition Classes
    NthIndexOrNth
  16. def intNth: Int

    Definition Classes
    NthIndexOrNth
  17. def isDefined: Boolean

    Definition Classes
    NthIndexOrNth
  18. def isEmpty: Boolean

    Definition Classes
    NthIndexOrNth
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. def max(that: Index): Index

  21. def min(that: Index): Index

  22. def next: Nth

    Definition Classes
    NthIndexOrNth
  23. def prev: Nth

    Definition Classes
    NthIndexOrNth
  24. def take(n: Int): IndexRange

  25. def to(end: Nth): IndexRange

  26. def toIndex: Index

    Definition Classes
    NthIndexOrNth
  27. def toInt: Int

    Definition Classes
    NthIndexOrNth
  28. def toLong: Long

    Definition Classes
    NthIndexOrNth
  29. def toNth: Nth

    Definition Classes
    NthIndexOrNth
  30. def toString(): String

    Definition Classes
    Nth → Any
  31. def until(end: Nth): IndexRange

  32. val value: Int

    Definition Classes
    NthIndexOrNth

Inherited from IndexOrNth

Inherited from Ordered[Nth]

Inherited from Comparable[Nth]

Inherited from AnyVal

Inherited from Any

Ungrouped