toggle menu
MoulConfig
4.3.0-beta
jvm
switch theme
search in API
common
/
io.github.notenoughupdates.moulconfig.xml
/
ParametricTypeMorphism
Parametric
Type
Morphism
@
ApiStatus.Experimental
(
)
public
interface
ParametricTypeMorphism
(
source
)
Generic interface for transforming
GetSetters
into GetSetters containing another type.
Inheritors
WrapPlatformObjects
UnboxGetSetter
UnboxPrimitives
Members
Functions
apply
Link copied to clipboard
public
abstract
GetSetter
<
? extends
Object
>
apply
(
Type
domain
,
GetSetter
<
? extends
Object
>
value
)
Transform an object from one type to another, wrapped into a
GetSetter
codomain
Link copied to clipboard
public
abstract
Optional
<
Type
>
codomain
(
Type
domain
)
For a given type, return what type this morphism transform each object into.