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.internal
/
InitUtil
Init
Util
open
class
InitUtil
(
source
)
Members
Constructors
Init
Util
Link copied to clipboard
constructor
(
)
Types
Throwing
Runnable
Link copied to clipboard
@
FunctionalInterface
interface
ThrowingRunnable
<
T
:
Throwable
?
>
Throwing
Supplier
Link copied to clipboard
@
FunctionalInterface
interface
ThrowingSupplier
<
T
,
E
:
Throwable
?
>
Functions
make
Link copied to clipboard
open
fun
<
T
>
make
(
constructor
:
Supplier
<
T
>
)
:
T
open
fun
<
T
>
make
(
obj
:
T
,
constructor
:
Consumer
<
T
>
)
:
T
make
Unchecked
Link copied to clipboard
open
fun
<
T
>
makeUnchecked
(
supplier
:
InitUtil.ThrowingSupplier
<
T
,
Exception
>
)
:
T
run
Link copied to clipboard
open
fun
<
T
,
E
:
Throwable
?
>
run
(
value
:
T
,
check
:
InitUtil.ThrowingRunnable
<
E
>
)
:
T
Utility method to run code during a
super
or
this
call.