Previous

trait Previous[@specialized A] extends PartialPrevious[A]

A typeclass with an operation which returns a member which is always smaller than the one supplied.

A typeclass with an operation which returns a member which is always smaller than the one supplied.

class Object
trait Matchable
class Any

Value members

Abstract methods

def previous(a: A): A

Concrete methods

override def partialPrevious(a: A): Option[A]
Definition Classes