Binding

class Binding(type: TypeToken<*>, tag: Any?) : SearchDSL.Spec

A binding return type constrained spec.

Constructors

Binding
Link copied to clipboard
common
fun Binding(type: TypeToken<*>, tag: Any? = null)

Functions

apply
Link copied to clipboard
common
open override fun apply(specs: SearchSpecs)

Apply the function.

Properties

tag
Link copied to clipboard
common
val tag: Any? = null

An optional tag constraint.

type
Link copied to clipboard
common
val type: TypeToken<*>

The type constraint.