JsonNumericTemplate

io.github.cakelier.tuples.space.JsonTemplate$.JsonNumericTemplate$
See theJsonNumericTemplate companion trait

Companion object to the JsonNumericTemplate trait, containing its implementations.

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

Companion object to the JsonDoubleTemplate trait, containing its implementation.

Companion object to the JsonDoubleTemplate trait, containing its implementation.

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

A JsonTemplate that can be matched against a double precision floating point numeric value.

A JsonTemplate that can be matched against a double precision floating point numeric value.

Attributes

Companion
object
Supertypes
trait JsonTemplate
class Object
trait Matchable
class Any

Companion object to the JsonFloatTemplate trait, containing its implementation.

Companion object to the JsonFloatTemplate trait, containing its implementation.

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

A JsonTemplate that can be matched against a single precision floating point numeric value.

A JsonTemplate that can be matched against a single precision floating point numeric value.

Attributes

Companion
object
Supertypes
trait JsonTemplate
class Object
trait Matchable
class Any

Companion object to the JsonIntegralTemplate trait, containing its implementation.

Companion object to the JsonIntegralTemplate trait, containing its implementation.

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait JsonIntegralTemplate[+A] extends JsonNumericTemplate[A]

A JsonTemplate that can be matched against an integral value.

A JsonTemplate that can be matched against an integral value.

This template represents all templates that can match an integral value, so an integer or a long integer. For matching an integral JsonElement, it can be specified a constant value, an inclusive range for the JsonElement or an inclusive one, both of which can be half-open. Also, it can be specified a value for which the JsonElement should be multiple of. If multiple constraint are specified, all of them must be true in order to match with this template, independently of the satisfiability of said constraints. If no constraint is specified, only the type equality will be checked.

Type parameters

A

the type of the integral JsonElement that this JsonTemplate can match

Attributes

Companion
object
Supertypes
trait JsonTemplate
class Object
trait Matchable
class Any
Known subtypes

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Exports

Defined exports

Exported from JsonIntegralTemplate