Class RecordBuilder.P2<O,T1,T2>
java.lang.Object
com.github.darksoulq.abyssallib.common.serialization.RecordBuilder.P2<O,T1,T2>
- Type Parameters:
O- The target parent configuration type.T1- Target parameter type 1.T2- Target parameter type 2.
- Enclosing class:
RecordBuilder
Intermediary constructor block tracking 2 functional dimensions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(RecordBuilder.Instance instance, BiFunction<T1, T2, O> constructor) Resolves the builder context to the target object constructor.
-
Constructor Details
-
P2
-
-
Method Details
-
apply
Resolves the builder context to the target object constructor.- Parameters:
instance- The local tracking domain identifier.constructor- A functional definition binding arguments to an instance of O.- Returns:
- A constructed Codec managing the object lifecycle natively.
-