Inspector

interface Inspector<T>

represents the data and corresponding id of certain value in a deep nested model structure.

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
sub
Link copied to clipboard
common
abstract fun <X> sub(lens: Lens<T, X>): Inspector<X>
creates a new Inspector for a part of your underlying data-model
toString
Link copied to clipboard
common
open fun toString(): String

Properties

data
Link copied to clipboard
common
abstract val data: T
T representation of stored data
id
Link copied to clipboard
common
abstract val id: String
String representation of the corresponding id

Inheritors

RootInspector
Link copied to clipboard
SubInspector
Link copied to clipboard