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.
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

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.