JsonLongTemplate

io.github.cakelier.tuples.space.JsonTemplate$.JsonNumericTemplate$.JsonIntegralTemplate$.JsonLongTemplate
See theJsonLongTemplate companion object

A JsonTemplate that can be matched against a long integer numeric value.

Attributes

Companion
object
Graph
Supertypes
trait JsonTemplate
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

override def matches(value: JsonElement): Boolean

Returns whether or not the given JsonElement matches this template.

Returns whether or not the given JsonElement matches this template.

Value parameters

value

the JsonElement to match

Attributes

Returns

whether or not the given JsonElement matches

Definition Classes
Inherited from:
JsonIntegralTemplate

Inherited fields

val const: Option[Long]

The constant numeric value to be used for matching against the given JsonElement.

The constant numeric value to be used for matching against the given JsonElement.

Attributes

Inherited from:
JsonNumericTemplate

The exclusive maximum to be used for matching against the given JsonElement.

The exclusive maximum to be used for matching against the given JsonElement.

Attributes

Inherited from:
JsonNumericTemplate

The exclusive minimum to be used for matching against the given JsonElement.

The exclusive minimum to be used for matching against the given JsonElement.

Attributes

Inherited from:
JsonNumericTemplate

The inclusive maximum to be used for matching against the given JsonElement.

The inclusive maximum to be used for matching against the given JsonElement.

Attributes

Inherited from:
JsonNumericTemplate

The inclusive minimum to be used for matching against the given JsonElement.

The inclusive minimum to be used for matching against the given JsonElement.

Attributes

Inherited from:
JsonNumericTemplate

The value for which the given JsonElement should be a multiple of.

The value for which the given JsonElement should be a multiple of.

Attributes

Inherited from:
JsonIntegralTemplate