Adjacent

io.github.iltotore.iron.scalacheck.Adjacent
See theAdjacent companion object
trait Adjacent[A]

Adjacent values for a type.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

def nextDown(x: A): A

Get the down value.

Get the down value.

Attributes

x

the value to shift down.

Returns:

the greatest value lower than x.

def nextUp(x: A): A

Get the next value.

Get the next value.

Attributes

x

the value to shift up.

Returns:

the least value greater than x.