Package hiiragi283.core.api.property
Class HTPropertyMapKt
-
- All Implemented Interfaces:
public final class HTPropertyMapKt
-
-
Method Summary
Modifier and Type Method Description final static HTPropertyMapbuildPropertyMap(Function1<HTPropertyMap.Builder, Unit> builderAction)final static Unitadd(HTPropertyMap.Builder $self, HTPropertyKey<Unit> key)final static UnitplusAssign(HTPropertyMap.Builder $self, HTPropertyKey<Unit> key)final static <T extends Any> TcomputeIfAbsent(HTPropertyMap.Builder $self, HTPropertyKey<T> key, Function0<T> mapping)final static <T extends Any> TcomputeIfAbsent(HTPropertyMap.Builder $self, HTPropertyKey<T> key, Function1<T, T> mapping)-
-
Method Detail
-
buildPropertyMap
final static HTPropertyMap buildPropertyMap(Function1<HTPropertyMap.Builder, Unit> builderAction)
-
add
final static Unit add(HTPropertyMap.Builder $self, HTPropertyKey<Unit> key)
- Since:
0.9.0
-
plusAssign
final static Unit plusAssign(HTPropertyMap.Builder $self, HTPropertyKey<Unit> key)
- Since:
0.9.0
-
computeIfAbsent
final static <T extends Any> T computeIfAbsent(HTPropertyMap.Builder $self, HTPropertyKey<T> key, Function0<T> mapping)
-
computeIfAbsent
final static <T extends Any> T computeIfAbsent(HTPropertyMap.Builder $self, HTPropertyKey<T> key, Function1<T, T> mapping)
-
-
-
-