MoulConfig
Toggle table of contents
9999.9999.9999+16fcc03
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
MoulConfig
common
/
io.github.notenoughupdates.moulconfig.xml
/
ParametricTypeMorphism
Parametric
Type
Morphism
@
ApiStatus.Experimental
interface
ParametricTypeMorphism
(
source
)
Generic interface for transforming
GetSetters
into GetSetters containing another type.
Inheritors
WrapPlatformObjects
UnboxPrimitives
UnboxGetSetter
Members
Functions
apply
Link copied to clipboard
abstract
fun
apply
(
domain
:
Type
,
value
:
GetSetter
<
out
Any
>
)
:
GetSetter
<
out
Any
>
Transform an object from one type to another, wrapped into a
GetSetter
codomain
Link copied to clipboard
abstract
fun
codomain
(
domain
:
Type
)
:
Optional
<
Type
>
For a given type, return what type this morphism transform each object into.