BoundedEnumerable

Companion:
object
trait LowerBounded[A]
trait UpperBounded[A]
trait PartialNext[A]
class Object
trait Matchable
class Any

Value members

Abstract methods

def order: Order[A]

Concrete methods

def cycleNext(a: A): A
def cyclePrevious(a: A): A

Inherited methods

def maxBound: A

Returns the upper limit of a type.

Returns the upper limit of a type.

Inherited from:
UpperBounded

Enumerate the members in ascending order.

Enumerate the members in ascending order.

Inherited from:
PartialNextLowerBounded

Enumerate the members in descending order.

Enumerate the members in descending order.

Inherited from:
PartialPreviousUpperBounded
def minBound: A

Returns the lower limit of a type.

Returns the lower limit of a type.

Inherited from:
LowerBounded
def partialNext(a: A): Option[A]
Inherited from:
PartialNext
def partialPrevious(a: A): Option[A]
Inherited from:
PartialPrevious