java.lang.Object
net.luis.utils.io.codec.CodecBuilder
A utility class that provides methods to create codec groupers that group multiple codecs into a single codec.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Private constructor to prevent instantiation.
This is a static helper class. -
Method Summary
Modifier and TypeMethodDescriptionstatic <CI1,
O> @NotNull CodecGrouper1 <CI1, O> group
(@NotNull ConfiguredCodec<CI1, O> codec1) Creates a new codec grouper that groups the provided codec into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.static <CI1,
CI2, O>
@NotNull CodecGrouper2<CI1, CI2, O> group
(@NotNull ConfiguredCodec<CI1, O> codec1, @NotNull ConfiguredCodec<CI2, O> codec2) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.static <CI1,
CI2, CI3, O>
@NotNull CodecGrouper3<CI1, CI2, CI3, O> group
(@NotNull ConfiguredCodec<CI1, O> codec1, @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull ConfiguredCodec<CI3, O> codec3) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.static <CI1,
CI2, CI3, CI4, O>
@NotNull CodecGrouper4<CI1, CI2, CI3, CI4, O> group
(@NotNull ConfiguredCodec<CI1, O> codec1, @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull ConfiguredCodec<CI4, O> codec4) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.static <CI1,
CI2, CI3, CI4, CI5, O>
@NotNull CodecGrouper5<CI1, CI2, CI3, CI4, CI5, O> group
(@NotNull ConfiguredCodec<CI1, O> codec1, @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull ConfiguredCodec<CI5, O> codec5) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.static <CI1,
CI2, CI3, CI4, CI5, CI6, O>
@NotNull CodecGrouper6<CI1, CI2, CI3, CI4, CI5, CI6, O> group
(@NotNull ConfiguredCodec<CI1, O> codec1, @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull ConfiguredCodec<CI6, O> codec6) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.static <CI1,
CI2, CI3, CI4, CI5, CI6, CI7, O>
@NotNull CodecGrouper7<CI1, CI2, CI3, CI4, CI5, CI6, CI7, O> group
(@NotNull ConfiguredCodec<CI1, O> codec1, @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull ConfiguredCodec<CI6, O> codec6, @NotNull ConfiguredCodec<CI7, O> codec7) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.static <CI1,
CI2, CI3, CI4, CI5, CI6, CI7, CI8, O>
@NotNull CodecGrouper8<CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, O> group
(@NotNull ConfiguredCodec<CI1, O> codec1, @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull ConfiguredCodec<CI6, O> codec6, @NotNull ConfiguredCodec<CI7, O> codec7, @NotNull ConfiguredCodec<CI8, O> codec8) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.static <CI1,
CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, O>
@NotNull CodecGrouper9<CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, O> group
(@NotNull ConfiguredCodec<CI1, O> codec1, @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull ConfiguredCodec<CI6, O> codec6, @NotNull ConfiguredCodec<CI7, O> codec7, @NotNull ConfiguredCodec<CI8, O> codec8, @NotNull ConfiguredCodec<CI9, O> codec9) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.static <CI1,
CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, O>
@NotNull CodecGrouper10<CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, O> group
(@NotNull ConfiguredCodec<CI1, O> codec1, @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull ConfiguredCodec<CI6, O> codec6, @NotNull ConfiguredCodec<CI7, O> codec7, @NotNull ConfiguredCodec<CI8, O> codec8, @NotNull ConfiguredCodec<CI9, O> codec9, @NotNull ConfiguredCodec<CI10, O> codec10) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.static <CI1,
CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, O>
@NotNull CodecGrouper11<CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, O> group
(@NotNull ConfiguredCodec<CI1, O> codec1, @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull ConfiguredCodec<CI6, O> codec6, @NotNull ConfiguredCodec<CI7, O> codec7, @NotNull ConfiguredCodec<CI8, O> codec8, @NotNull ConfiguredCodec<CI9, O> codec9, @NotNull ConfiguredCodec<CI10, O> codec10, @NotNull ConfiguredCodec<CI11, O> codec11) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.static <CI1,
CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, O>
@NotNull CodecGrouper12<CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, O> group
(@NotNull ConfiguredCodec<CI1, O> codec1, @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull ConfiguredCodec<CI6, O> codec6, @NotNull ConfiguredCodec<CI7, O> codec7, @NotNull ConfiguredCodec<CI8, O> codec8, @NotNull ConfiguredCodec<CI9, O> codec9, @NotNull ConfiguredCodec<CI10, O> codec10, @NotNull ConfiguredCodec<CI11, O> codec11, @NotNull ConfiguredCodec<CI12, O> codec12) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.static <CI1,
CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, O>
@NotNull CodecGrouper13<CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, O> group
(@NotNull ConfiguredCodec<CI1, O> codec1, @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull ConfiguredCodec<CI6, O> codec6, @NotNull ConfiguredCodec<CI7, O> codec7, @NotNull ConfiguredCodec<CI8, O> codec8, @NotNull ConfiguredCodec<CI9, O> codec9, @NotNull ConfiguredCodec<CI10, O> codec10, @NotNull ConfiguredCodec<CI11, O> codec11, @NotNull ConfiguredCodec<CI12, O> codec12, @NotNull ConfiguredCodec<CI13, O> codec13) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.static <CI1,
CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, CI14, O>
@NotNull CodecGrouper14<CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, CI14, O> group
(@NotNull ConfiguredCodec<CI1, O> codec1, @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull ConfiguredCodec<CI6, O> codec6, @NotNull ConfiguredCodec<CI7, O> codec7, @NotNull ConfiguredCodec<CI8, O> codec8, @NotNull ConfiguredCodec<CI9, O> codec9, @NotNull ConfiguredCodec<CI10, O> codec10, @NotNull ConfiguredCodec<CI11, O> codec11, @NotNull ConfiguredCodec<CI12, O> codec12, @NotNull ConfiguredCodec<CI13, O> codec13, @NotNull ConfiguredCodec<CI14, O> codec14) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.static <CI1,
CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, CI14, CI15, O>
@NotNull CodecGrouper15<CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, CI14, CI15, O> group
(@NotNull ConfiguredCodec<CI1, O> codec1, @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull ConfiguredCodec<CI6, O> codec6, @NotNull ConfiguredCodec<CI7, O> codec7, @NotNull ConfiguredCodec<CI8, O> codec8, @NotNull ConfiguredCodec<CI9, O> codec9, @NotNull ConfiguredCodec<CI10, O> codec10, @NotNull ConfiguredCodec<CI11, O> codec11, @NotNull ConfiguredCodec<CI12, O> codec12, @NotNull ConfiguredCodec<CI13, O> codec13, @NotNull ConfiguredCodec<CI14, O> codec14, @NotNull ConfiguredCodec<CI15, O> codec15) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.static <CI1,
CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, CI14, CI15, CI16, O>
@NotNull CodecGrouper16<CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, CI14, CI15, CI16, O> group
(@NotNull ConfiguredCodec<CI1, O> codec1, @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull ConfiguredCodec<CI6, O> codec6, @NotNull ConfiguredCodec<CI7, O> codec7, @NotNull ConfiguredCodec<CI8, O> codec8, @NotNull ConfiguredCodec<CI9, O> codec9, @NotNull ConfiguredCodec<CI10, O> codec10, @NotNull ConfiguredCodec<CI11, O> codec11, @NotNull ConfiguredCodec<CI12, O> codec12, @NotNull ConfiguredCodec<CI13, O> codec13, @NotNull ConfiguredCodec<CI14, O> codec14, @NotNull ConfiguredCodec<CI15, O> codec15, @NotNull ConfiguredCodec<CI16, O> codec16) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.
-
Constructor Details
-
CodecBuilder
private CodecBuilder()Private constructor to prevent instantiation.
This is a static helper class.
-
-
Method Details
-
group
@NotNull public static <CI1,O> @NotNull CodecGrouper1<CI1,O> group(@NotNull @NotNull ConfiguredCodec<CI1, O> codec1) Creates a new codec grouper that groups the provided codec into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.- Type Parameters:
CI1
- The type of the first componentO
- The type of the resulting object the created codec will produce- Parameters:
codec1
- The first codec- Returns:
- The created codec grouper
- Throws:
NullPointerException
- If any of the provided codecs is null- See Also:
-
group
@NotNull public static <CI1,CI2, @NotNull CodecGrouper2<CI1,O> CI2, groupO> (@NotNull @NotNull ConfiguredCodec<CI1, O> codec1, @NotNull @NotNull ConfiguredCodec<CI2, O> codec2) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.- Type Parameters:
CI1
- The type of the first componentCI2
- The type of the second componentO
- The type of the resulting object the created codec will produce- Parameters:
codec1
- The first codeccodec2
- The second codec- Returns:
- The created codec grouper
- Throws:
NullPointerException
- If any of the provided codecs is null- See Also:
-
group
@NotNull public static <CI1,CI2, @NotNull CodecGrouper3<CI1,CI3, O> CI2, groupCI3, O> (@NotNull @NotNull ConfiguredCodec<CI1, O> codec1, @NotNull @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull @NotNull ConfiguredCodec<CI3, O> codec3) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.- Type Parameters:
CI1
- The type of the first componentCI2
- The type of the second componentCI3
- The type of the third componentO
- The type of the resulting object the created codec will produce- Parameters:
codec1
- The first codeccodec2
- The second codeccodec3
- The third codec- Returns:
- The created codec grouper
- Throws:
NullPointerException
- If any of the provided codecs is null- See Also:
-
group
@NotNull public static <CI1,CI2, @NotNull CodecGrouper4<CI1,CI3, CI4, O> CI2, groupCI3, CI4, O> (@NotNull @NotNull ConfiguredCodec<CI1, O> codec1, @NotNull @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull @NotNull ConfiguredCodec<CI4, O> codec4) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.- Type Parameters:
CI1
- The type of the first componentCI2
- The type of the second componentCI3
- The type of the third componentCI4
- The type of the fourth componentO
- The type of the resulting object the created codec will produce- Parameters:
codec1
- The first codeccodec2
- The second codeccodec3
- The third codeccodec4
- The fourth codec- Returns:
- The created codec grouper
- Throws:
NullPointerException
- If any of the provided codecs is null- See Also:
-
group
@NotNull public static <CI1,CI2, @NotNull CodecGrouper5<CI1,CI3, CI4, CI5, O> CI2, groupCI3, CI4, CI5, O> (@NotNull @NotNull ConfiguredCodec<CI1, O> codec1, @NotNull @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull @NotNull ConfiguredCodec<CI5, O> codec5) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.- Type Parameters:
CI1
- The type of the first componentCI2
- The type of the second componentCI3
- The type of the third componentCI4
- The type of the fourth componentCI5
- The type of the fifth componentO
- The type of the resulting object the created codec will produce- Parameters:
codec1
- The first codeccodec2
- The second codeccodec3
- The third codeccodec4
- The fourth codeccodec5
- The fifth codec- Returns:
- The created codec grouper
- Throws:
NullPointerException
- If any of the provided codecs is null- See Also:
-
group
@NotNull public static <CI1,CI2, @NotNull CodecGrouper6<CI1,CI3, CI4, CI5, CI6, O> CI2, groupCI3, CI4, CI5, CI6, O> (@NotNull @NotNull ConfiguredCodec<CI1, O> codec1, @NotNull @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull @NotNull ConfiguredCodec<CI6, O> codec6) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.- Type Parameters:
CI1
- The type of the first componentCI2
- The type of the second componentCI3
- The type of the third componentCI4
- The type of the fourth componentCI5
- The type of the fifth componentCI6
- The type of the sixth componentO
- The type of the resulting object the created codec will produce- Parameters:
codec1
- The first codeccodec2
- The second codeccodec3
- The third codeccodec4
- The fourth codeccodec5
- The fifth codeccodec6
- The sixth codec- Returns:
- The created codec grouper
- Throws:
NullPointerException
- If any of the provided codecs is null- See Also:
-
group
@NotNull public static <CI1,CI2, @NotNull CodecGrouper7<CI1,CI3, CI4, CI5, CI6, CI7, O> CI2, groupCI3, CI4, CI5, CI6, CI7, O> (@NotNull @NotNull ConfiguredCodec<CI1, O> codec1, @NotNull @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull @NotNull ConfiguredCodec<CI6, O> codec6, @NotNull @NotNull ConfiguredCodec<CI7, O> codec7) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.- Type Parameters:
CI1
- The type of the first componentCI2
- The type of the second componentCI3
- The type of the third componentCI4
- The type of the fourth componentCI5
- The type of the fifth componentCI6
- The type of the sixth componentCI7
- The type of the seventh componentO
- The type of the resulting object the created codec will produce- Parameters:
codec1
- The first codeccodec2
- The second codeccodec3
- The third codeccodec4
- The fourth codeccodec5
- The fifth codeccodec6
- The sixth codeccodec7
- The seventh codec- Returns:
- The created codec grouper
- Throws:
NullPointerException
- If any of the provided codecs is null- See Also:
-
group
@NotNull public static <CI1,CI2, @NotNull CodecGrouper8<CI1,CI3, CI4, CI5, CI6, CI7, CI8, O> CI2, groupCI3, CI4, CI5, CI6, CI7, CI8, O> (@NotNull @NotNull ConfiguredCodec<CI1, O> codec1, @NotNull @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull @NotNull ConfiguredCodec<CI6, O> codec6, @NotNull @NotNull ConfiguredCodec<CI7, O> codec7, @NotNull @NotNull ConfiguredCodec<CI8, O> codec8) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.- Type Parameters:
CI1
- The type of the first componentCI2
- The type of the second componentCI3
- The type of the third componentCI4
- The type of the fourth componentCI5
- The type of the fifth componentCI6
- The type of the sixth componentCI7
- The type of the seventh componentCI8
- The type of the eighth componentO
- The type of the resulting object the created codec will produce- Parameters:
codec1
- The first codeccodec2
- The second codeccodec3
- The third codeccodec4
- The fourth codeccodec5
- The fifth codeccodec6
- The sixth codeccodec7
- The seventh codeccodec8
- The eighth codec- Returns:
- The created codec grouper
- Throws:
NullPointerException
- If any of the provided codecs is null- See Also:
-
group
@NotNull public static <CI1,CI2, @NotNull CodecGrouper9<CI1,CI3, CI4, CI5, CI6, CI7, CI8, CI9, O> CI2, groupCI3, CI4, CI5, CI6, CI7, CI8, CI9, O> (@NotNull @NotNull ConfiguredCodec<CI1, O> codec1, @NotNull @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull @NotNull ConfiguredCodec<CI6, O> codec6, @NotNull @NotNull ConfiguredCodec<CI7, O> codec7, @NotNull @NotNull ConfiguredCodec<CI8, O> codec8, @NotNull @NotNull ConfiguredCodec<CI9, O> codec9) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.- Type Parameters:
CI1
- The type of the first componentCI2
- The type of the second componentCI3
- The type of the third componentCI4
- The type of the fourth componentCI5
- The type of the fifth componentCI6
- The type of the sixth componentCI7
- The type of the seventh componentCI8
- The type of the eighth componentCI9
- The type of the ninth componentO
- The type of the resulting object the created codec will produce- Parameters:
codec1
- The first codeccodec2
- The second codeccodec3
- The third codeccodec4
- The fourth codeccodec5
- The fifth codeccodec6
- The sixth codeccodec7
- The seventh codeccodec8
- The eighth codeccodec9
- The ninth codec- Returns:
- The created codec grouper
- Throws:
NullPointerException
- If any of the provided codecs is null- See Also:
-
group
@NotNull public static <CI1,CI2, @NotNull CodecGrouper10<CI1,CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, O> CI2, groupCI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, O> (@NotNull @NotNull ConfiguredCodec<CI1, O> codec1, @NotNull @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull @NotNull ConfiguredCodec<CI6, O> codec6, @NotNull @NotNull ConfiguredCodec<CI7, O> codec7, @NotNull @NotNull ConfiguredCodec<CI8, O> codec8, @NotNull @NotNull ConfiguredCodec<CI9, O> codec9, @NotNull @NotNull ConfiguredCodec<CI10, O> codec10) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.- Type Parameters:
CI1
- The type of the first componentCI2
- The type of the second componentCI3
- The type of the third componentCI4
- The type of the fourth componentCI5
- The type of the fifth componentCI6
- The type of the sixth componentCI7
- The type of the seventh componentCI8
- The type of the eighth componentCI9
- The type of the ninth componentCI10
- The type of the tenth componentO
- The type of the resulting object the created codec will produce- Parameters:
codec1
- The first codeccodec2
- The second codeccodec3
- The third codeccodec4
- The fourth codeccodec5
- The fifth codeccodec6
- The sixth codeccodec7
- The seventh codeccodec8
- The eighth codeccodec9
- The ninth codeccodec10
- The tenth codec- Returns:
- The created codec grouper
- Throws:
NullPointerException
- If any of the provided codecs is null- See Also:
-
group
@NotNull public static <CI1,CI2, @NotNull CodecGrouper11<CI1,CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, O> CI2, groupCI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, O> (@NotNull @NotNull ConfiguredCodec<CI1, O> codec1, @NotNull @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull @NotNull ConfiguredCodec<CI6, O> codec6, @NotNull @NotNull ConfiguredCodec<CI7, O> codec7, @NotNull @NotNull ConfiguredCodec<CI8, O> codec8, @NotNull @NotNull ConfiguredCodec<CI9, O> codec9, @NotNull @NotNull ConfiguredCodec<CI10, O> codec10, @NotNull @NotNull ConfiguredCodec<CI11, O> codec11) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.- Type Parameters:
CI1
- The type of the first componentCI2
- The type of the second componentCI3
- The type of the third componentCI4
- The type of the fourth componentCI5
- The type of the fifth componentCI6
- The type of the sixth componentCI7
- The type of the seventh componentCI8
- The type of the eighth componentCI9
- The type of the ninth componentCI10
- The type of the tenth componentCI11
- The type of the eleventh componentO
- The type of the resulting object the created codec will produce- Parameters:
codec1
- The first codeccodec2
- The second codeccodec3
- The third codeccodec4
- The fourth codeccodec5
- The fifth codeccodec6
- The sixth codeccodec7
- The seventh codeccodec8
- The eighth codeccodec9
- The ninth codeccodec10
- The tenth codeccodec11
- The eleventh codec- Returns:
- The created codec grouper
- Throws:
NullPointerException
- If any of the provided codecs is null- See Also:
-
group
@NotNull public static <CI1,CI2, @NotNull CodecGrouper12<CI1,CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, O> CI2, groupCI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, O> (@NotNull @NotNull ConfiguredCodec<CI1, O> codec1, @NotNull @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull @NotNull ConfiguredCodec<CI6, O> codec6, @NotNull @NotNull ConfiguredCodec<CI7, O> codec7, @NotNull @NotNull ConfiguredCodec<CI8, O> codec8, @NotNull @NotNull ConfiguredCodec<CI9, O> codec9, @NotNull @NotNull ConfiguredCodec<CI10, O> codec10, @NotNull @NotNull ConfiguredCodec<CI11, O> codec11, @NotNull @NotNull ConfiguredCodec<CI12, O> codec12) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.- Type Parameters:
CI1
- The type of the first componentCI2
- The type of the second componentCI3
- The type of the third componentCI4
- The type of the fourth componentCI5
- The type of the fifth componentCI6
- The type of the sixth componentCI7
- The type of the seventh componentCI8
- The type of the eighth componentCI9
- The type of the ninth componentCI10
- The type of the tenth componentCI11
- The type of the eleventh componentCI12
- The type of the twelfth componentO
- The type of the resulting object the created codec will produce- Parameters:
codec1
- The first codeccodec2
- The second codeccodec3
- The third codeccodec4
- The fourth codeccodec5
- The fifth codeccodec6
- The sixth codeccodec7
- The seventh codeccodec8
- The eighth codeccodec9
- The ninth codeccodec10
- The tenth codeccodec11
- The eleventh codeccodec12
- The twelfth codec- Returns:
- The created codec grouper
- Throws:
NullPointerException
- If any of the provided codecs is null- See Also:
-
group
@NotNull public static <CI1,CI2, @NotNull CodecGrouper13<CI1,CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, O> CI2, groupCI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, O> (@NotNull @NotNull ConfiguredCodec<CI1, O> codec1, @NotNull @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull @NotNull ConfiguredCodec<CI6, O> codec6, @NotNull @NotNull ConfiguredCodec<CI7, O> codec7, @NotNull @NotNull ConfiguredCodec<CI8, O> codec8, @NotNull @NotNull ConfiguredCodec<CI9, O> codec9, @NotNull @NotNull ConfiguredCodec<CI10, O> codec10, @NotNull @NotNull ConfiguredCodec<CI11, O> codec11, @NotNull @NotNull ConfiguredCodec<CI12, O> codec12, @NotNull @NotNull ConfiguredCodec<CI13, O> codec13) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.- Type Parameters:
CI1
- The type of the first componentCI2
- The type of the second componentCI3
- The type of the third componentCI4
- The type of the fourth componentCI5
- The type of the fifth componentCI6
- The type of the sixth componentCI7
- The type of the seventh componentCI8
- The type of the eighth componentCI9
- The type of the ninth componentCI10
- The type of the tenth componentCI11
- The type of the eleventh componentCI12
- The type of the twelfth componentCI13
- The type of the thirteenth componentO
- The type of the resulting object the created codec will produce- Parameters:
codec1
- The first codeccodec2
- The second codeccodec3
- The third codeccodec4
- The fourth codeccodec5
- The fifth codeccodec6
- The sixth codeccodec7
- The seventh codeccodec8
- The eighth codeccodec9
- The ninth codeccodec10
- The tenth codeccodec11
- The eleventh codeccodec12
- The twelfth codeccodec13
- The thirteenth codec- Returns:
- The created codec grouper
- Throws:
NullPointerException
- If any of the provided codecs is null- See Also:
-
group
@NotNull public static <CI1,CI2, @NotNull CodecGrouper14<CI1,CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, CI14, O> CI2, groupCI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, CI14, O> (@NotNull @NotNull ConfiguredCodec<CI1, O> codec1, @NotNull @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull @NotNull ConfiguredCodec<CI6, O> codec6, @NotNull @NotNull ConfiguredCodec<CI7, O> codec7, @NotNull @NotNull ConfiguredCodec<CI8, O> codec8, @NotNull @NotNull ConfiguredCodec<CI9, O> codec9, @NotNull @NotNull ConfiguredCodec<CI10, O> codec10, @NotNull @NotNull ConfiguredCodec<CI11, O> codec11, @NotNull @NotNull ConfiguredCodec<CI12, O> codec12, @NotNull @NotNull ConfiguredCodec<CI13, O> codec13, @NotNull @NotNull ConfiguredCodec<CI14, O> codec14) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.- Type Parameters:
CI1
- The type of the first componentCI2
- The type of the second componentCI3
- The type of the third componentCI4
- The type of the fourth componentCI5
- The type of the fifth componentCI6
- The type of the sixth componentCI7
- The type of the seventh componentCI8
- The type of the eighth componentCI9
- The type of the ninth componentCI10
- The type of the tenth componentCI11
- The type of the eleventh componentCI12
- The type of the twelfth componentCI13
- The type of the thirteenth componentCI14
- The type of the fourteenth componentO
- The type of the resulting object the created codec will produce- Parameters:
codec1
- The first codeccodec2
- The second codeccodec3
- The third codeccodec4
- The fourth codeccodec5
- The fifth codeccodec6
- The sixth codeccodec7
- The seventh codeccodec8
- The eighth codeccodec9
- The ninth codeccodec10
- The tenth codeccodec11
- The eleventh codeccodec12
- The twelfth codeccodec13
- The thirteenth codeccodec14
- The fourteenth codec- Returns:
- The created codec grouper
- Throws:
NullPointerException
- If any of the provided codecs is null- See Also:
-
group
@NotNull public static <CI1,CI2, @NotNull CodecGrouper15<CI1,CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, CI14, CI15, O> CI2, groupCI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, CI14, CI15, O> (@NotNull @NotNull ConfiguredCodec<CI1, O> codec1, @NotNull @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull @NotNull ConfiguredCodec<CI6, O> codec6, @NotNull @NotNull ConfiguredCodec<CI7, O> codec7, @NotNull @NotNull ConfiguredCodec<CI8, O> codec8, @NotNull @NotNull ConfiguredCodec<CI9, O> codec9, @NotNull @NotNull ConfiguredCodec<CI10, O> codec10, @NotNull @NotNull ConfiguredCodec<CI11, O> codec11, @NotNull @NotNull ConfiguredCodec<CI12, O> codec12, @NotNull @NotNull ConfiguredCodec<CI13, O> codec13, @NotNull @NotNull ConfiguredCodec<CI14, O> codec14, @NotNull @NotNull ConfiguredCodec<CI15, O> codec15) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.- Type Parameters:
CI1
- The type of the first componentCI2
- The type of the second componentCI3
- The type of the third componentCI4
- The type of the fourth componentCI5
- The type of the fifth componentCI6
- The type of the sixth componentCI7
- The type of the seventh componentCI8
- The type of the eighth componentCI9
- The type of the ninth componentCI10
- The type of the tenth componentCI11
- The type of the eleventh componentCI12
- The type of the twelfth componentCI13
- The type of the thirteenth componentCI14
- The type of the fourteenth componentCI15
- The type of the fifteenth componentO
- The type of the resulting object the created codec will produce- Parameters:
codec1
- The first codeccodec2
- The second codeccodec3
- The third codeccodec4
- The fourth codeccodec5
- The fifth codeccodec6
- The sixth codeccodec7
- The seventh codeccodec8
- The eighth codeccodec9
- The ninth codeccodec10
- The tenth codeccodec11
- The eleventh codeccodec12
- The twelfth codeccodec13
- The thirteenth codeccodec14
- The fourteenth codeccodec15
- The fifteenth codec- Returns:
- The created codec grouper
- Throws:
NullPointerException
- If any of the provided codecs is null- See Also:
-
group
@NotNull public static <CI1,CI2, @NotNull CodecGrouper16<CI1,CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, CI14, CI15, CI16, O> CI2, groupCI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, CI14, CI15, CI16, O> (@NotNull @NotNull ConfiguredCodec<CI1, O> codec1, @NotNull @NotNull ConfiguredCodec<CI2, O> codec2, @NotNull @NotNull ConfiguredCodec<CI3, O> codec3, @NotNull @NotNull ConfiguredCodec<CI4, O> codec4, @NotNull @NotNull ConfiguredCodec<CI5, O> codec5, @NotNull @NotNull ConfiguredCodec<CI6, O> codec6, @NotNull @NotNull ConfiguredCodec<CI7, O> codec7, @NotNull @NotNull ConfiguredCodec<CI8, O> codec8, @NotNull @NotNull ConfiguredCodec<CI9, O> codec9, @NotNull @NotNull ConfiguredCodec<CI10, O> codec10, @NotNull @NotNull ConfiguredCodec<CI11, O> codec11, @NotNull @NotNull ConfiguredCodec<CI12, O> codec12, @NotNull @NotNull ConfiguredCodec<CI13, O> codec13, @NotNull @NotNull ConfiguredCodec<CI14, O> codec14, @NotNull @NotNull ConfiguredCodec<CI15, O> codec15, @NotNull @NotNull ConfiguredCodec<CI16, O> codec16) Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling thecreate
method of the returned grouper.
Thecreate
requires a grouping function as input that constructs the resulting object from the provided components.- Type Parameters:
CI1
- The type of the first componentCI2
- The type of the second componentCI3
- The type of the third componentCI4
- The type of the fourth componentCI5
- The type of the fifth componentCI6
- The type of the sixth componentCI7
- The type of the seventh componentCI8
- The type of the eighth componentCI9
- The type of the ninth componentCI10
- The type of the tenth componentCI11
- The type of the eleventh componentCI12
- The type of the twelfth componentCI13
- The type of the thirteenth componentCI14
- The type of the fourteenth componentCI15
- The type of the fifteenth componentCI16
- The type of the sixteenth componentO
- The type of the resulting object the created codec will produce- Parameters:
codec1
- The first codeccodec2
- The second codeccodec3
- The third codeccodec4
- The fourth codeccodec5
- The fifth codeccodec6
- The sixth codeccodec7
- The seventh codeccodec8
- The eighth codeccodec9
- The ninth codeccodec10
- The tenth codeccodec11
- The eleventh codeccodec12
- The twelfth codeccodec13
- The thirteenth codeccodec14
- The fourteenth codeccodec15
- The fifteenth codeccodec16
- The sixteenth codec- Returns:
- The created codec grouper
- Throws:
NullPointerException
- If any of the provided codecs is null- See Also:
-