Adjacent

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

Adjacent values for a type.

Attributes

Companion
object
Source
Adjacent.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object given_Adjacent_Double.type
object given_Adjacent_Float.type
object given_Adjacent_Int.type
object given_Adjacent_Long.type

Members list

Value members

Abstract methods

def nextDown(x: A): A

Get the down value.

Get the down value.

Value parameters

x

the value to shift down.

Attributes

Returns

the greatest value lower than x.

Source
Adjacent.scala
def nextUp(x: A): A

Get the next value.

Get the next value.

Value parameters

x

the value to shift up.

Attributes

Returns

the least value greater than x.

Source
Adjacent.scala