Class NetworkBufferTemplate
java.lang.Object
net.minestom.server.network.NetworkBufferTemplate
A utility class to create
NetworkBuffer.Type templates
useful for serializing and deserializing objects and ensure the same type written is the same type read.
record MyClass(int id, String name) {
// Using the template utility:
public static final NetworkBuffer.Type<MyClass> SERIALIZER = NetworkBufferTemplate.template(
NetworkBuffer.INT, MyClass::id,
NetworkBuffer.STRING, MyClass::name,
MyClass::new
);
// Compared to writing a custom serializer:
public static final NetworkBuffer.Type<MyClass> SERIALIZER = new NetworkBufferTypeImpl<>() {
@Override
public void write(NetworkBuffer buffer, MyClass value) {
buffer.write(NetworkBuffer.INT, value.id());
buffer.write(NetworkBuffer.STRING, value.name());
}
@Override
public MyClass read(NetworkBuffer buffer) {
return new MyClass(
buffer.read(NetworkBuffer.INT),
buffer.read(NetworkBuffer.STRING)
);
}
};
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceNetworkBufferTemplate.F1<P1 extends @UnknownNullability Object, R extends @UnknownNullability Object>static interfaceNetworkBufferTemplate.F10<P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, R extends @UnknownNullability Object>static interfaceNetworkBufferTemplate.F11<P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, R extends @UnknownNullability Object>static interfaceNetworkBufferTemplate.F12<P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, R extends @UnknownNullability Object>static interfaceNetworkBufferTemplate.F13<P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, R extends @UnknownNullability Object>static interfaceNetworkBufferTemplate.F14<P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, R extends @UnknownNullability Object>static interfaceNetworkBufferTemplate.F15<P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, P15 extends @UnknownNullability Object, R extends @UnknownNullability Object>static interfaceNetworkBufferTemplate.F16<P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, P15 extends @UnknownNullability Object, P16 extends @UnknownNullability Object, R extends @UnknownNullability Object>static interfaceNetworkBufferTemplate.F17<P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, P15 extends @UnknownNullability Object, P16 extends @UnknownNullability Object, P17 extends @UnknownNullability Object, R extends @UnknownNullability Object>static interfaceNetworkBufferTemplate.F18<P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, P15 extends @UnknownNullability Object, P16 extends @UnknownNullability Object, P17 extends @UnknownNullability Object, P18 extends @UnknownNullability Object, R extends @UnknownNullability Object>static interfaceNetworkBufferTemplate.F19<P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, P15 extends @UnknownNullability Object, P16 extends @UnknownNullability Object, P17 extends @UnknownNullability Object, P18 extends @UnknownNullability Object, P19 extends @UnknownNullability Object, R extends @UnknownNullability Object>static interfaceNetworkBufferTemplate.F2<P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, R extends @UnknownNullability Object>static interfaceNetworkBufferTemplate.F20<P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, P15 extends @UnknownNullability Object, P16 extends @UnknownNullability Object, P17 extends @UnknownNullability Object, P18 extends @UnknownNullability Object, P19 extends @UnknownNullability Object, P20 extends @UnknownNullability Object, R extends @UnknownNullability Object>static interfaceNetworkBufferTemplate.F3<P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, R extends @UnknownNullability Object>static interfaceNetworkBufferTemplate.F4<P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, R extends @UnknownNullability Object>static interfaceNetworkBufferTemplate.F5<P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, R extends @UnknownNullability Object>static interfaceNetworkBufferTemplate.F6<P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, R extends @UnknownNullability Object>static interfaceNetworkBufferTemplate.F7<P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, R extends @UnknownNullability Object>static interfaceNetworkBufferTemplate.F8<P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, R extends @UnknownNullability Object>static interfaceNetworkBufferTemplate.F9<P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, R extends @UnknownNullability Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <R extends @UnknownNullability Object>
NetworkBuffer.Type<R> Creates a template that uses a supplier to get a valueRstatic <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, P15 extends @UnknownNullability Object, P16 extends @UnknownNullability Object, P17 extends @UnknownNullability Object, P18 extends @UnknownNullability Object, P19 extends @UnknownNullability Object, P20 extends @UnknownNullability Object, R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBuffer.Type<P11> p11, Function<? super R, ? extends P11> g11, NetworkBuffer.Type<P12> p12, Function<? super R, ? extends P12> g12, NetworkBuffer.Type<P13> p13, Function<? super R, ? extends P13> g13, NetworkBuffer.Type<P14> p14, Function<? super R, ? extends P14> g14, NetworkBuffer.Type<P15> p15, Function<? super R, ? extends P15> g15, NetworkBuffer.Type<P16> p16, Function<? super R, ? extends P16> g16, NetworkBuffer.Type<P17> p17, Function<? super R, ? extends P17> g17, NetworkBuffer.Type<P18> p18, Function<? super R, ? extends P18> g18, NetworkBuffer.Type<P19> p19, Function<? super R, ? extends P19> g19, NetworkBuffer.Type<P20> p20, Function<? super R, ? extends P20> g20, NetworkBufferTemplate.F20<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? super P11, ? super P12, ? super P13, ? super P14, ? super P15, ? super P16, ? super P17, ? super P18, ? super P19, ? super P20, ? extends R> ctor) Creates a template with twenty parametersstatic <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, P15 extends @UnknownNullability Object, P16 extends @UnknownNullability Object, P17 extends @UnknownNullability Object, P18 extends @UnknownNullability Object, P19 extends @UnknownNullability Object, R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBuffer.Type<P11> p11, Function<? super R, ? extends P11> g11, NetworkBuffer.Type<P12> p12, Function<? super R, ? extends P12> g12, NetworkBuffer.Type<P13> p13, Function<? super R, ? extends P13> g13, NetworkBuffer.Type<P14> p14, Function<? super R, ? extends P14> g14, NetworkBuffer.Type<P15> p15, Function<? super R, ? extends P15> g15, NetworkBuffer.Type<P16> p16, Function<? super R, ? extends P16> g16, NetworkBuffer.Type<P17> p17, Function<? super R, ? extends P17> g17, NetworkBuffer.Type<P18> p18, Function<? super R, ? extends P18> g18, NetworkBuffer.Type<P19> p19, Function<? super R, ? extends P19> g19, NetworkBufferTemplate.F19<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? super P11, ? super P12, ? super P13, ? super P14, ? super P15, ? super P16, ? super P17, ? super P18, ? super P19, ? extends R> ctor) Creates a template with nineteen parametersstatic <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, P15 extends @UnknownNullability Object, P16 extends @UnknownNullability Object, P17 extends @UnknownNullability Object, P18 extends @UnknownNullability Object, R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBuffer.Type<P11> p11, Function<? super R, ? extends P11> g11, NetworkBuffer.Type<P12> p12, Function<? super R, ? extends P12> g12, NetworkBuffer.Type<P13> p13, Function<? super R, ? extends P13> g13, NetworkBuffer.Type<P14> p14, Function<? super R, ? extends P14> g14, NetworkBuffer.Type<P15> p15, Function<? super R, ? extends P15> g15, NetworkBuffer.Type<P16> p16, Function<? super R, ? extends P16> g16, NetworkBuffer.Type<P17> p17, Function<? super R, ? extends P17> g17, NetworkBuffer.Type<P18> p18, Function<? super R, ? extends P18> g18, NetworkBufferTemplate.F18<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? super P11, ? super P12, ? super P13, ? super P14, ? super P15, ? super P16, ? super P17, ? super P18, ? extends R> ctor) Creates a template with eighteen parametersstatic <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, P15 extends @UnknownNullability Object, P16 extends @UnknownNullability Object, P17 extends @UnknownNullability Object, R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBuffer.Type<P11> p11, Function<? super R, ? extends P11> g11, NetworkBuffer.Type<P12> p12, Function<? super R, ? extends P12> g12, NetworkBuffer.Type<P13> p13, Function<? super R, ? extends P13> g13, NetworkBuffer.Type<P14> p14, Function<? super R, ? extends P14> g14, NetworkBuffer.Type<P15> p15, Function<? super R, ? extends P15> g15, NetworkBuffer.Type<P16> p16, Function<? super R, ? extends P16> g16, NetworkBuffer.Type<P17> p17, Function<? super R, ? extends P17> g17, NetworkBufferTemplate.F17<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? super P11, ? super P12, ? super P13, ? super P14, ? super P15, ? super P16, ? super P17, ? extends R> ctor) Creates a template with seventeen parametersstatic <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, P15 extends @UnknownNullability Object, P16 extends @UnknownNullability Object, R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBuffer.Type<P11> p11, Function<? super R, ? extends P11> g11, NetworkBuffer.Type<P12> p12, Function<? super R, ? extends P12> g12, NetworkBuffer.Type<P13> p13, Function<? super R, ? extends P13> g13, NetworkBuffer.Type<P14> p14, Function<? super R, ? extends P14> g14, NetworkBuffer.Type<P15> p15, Function<? super R, ? extends P15> g15, NetworkBuffer.Type<P16> p16, Function<? super R, ? extends P16> g16, NetworkBufferTemplate.F16<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? super P11, ? super P12, ? super P13, ? super P14, ? super P15, ? super P16, ? extends R> ctor) Creates a template with sixteen parametersstatic <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, P15 extends @UnknownNullability Object, R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBuffer.Type<P11> p11, Function<? super R, ? extends P11> g11, NetworkBuffer.Type<P12> p12, Function<? super R, ? extends P12> g12, NetworkBuffer.Type<P13> p13, Function<? super R, ? extends P13> g13, NetworkBuffer.Type<P14> p14, Function<? super R, ? extends P14> g14, NetworkBuffer.Type<P15> p15, Function<? super R, ? extends P15> g15, NetworkBufferTemplate.F15<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? super P11, ? super P12, ? super P13, ? super P14, ? super P15, ? extends R> ctor) Creates a template with fifteen parametersstatic <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBuffer.Type<P11> p11, Function<? super R, ? extends P11> g11, NetworkBuffer.Type<P12> p12, Function<? super R, ? extends P12> g12, NetworkBuffer.Type<P13> p13, Function<? super R, ? extends P13> g13, NetworkBuffer.Type<P14> p14, Function<? super R, ? extends P14> g14, NetworkBufferTemplate.F14<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? super P11, ? super P12, ? super P13, ? super P14, ? extends R> ctor) Creates a template with fourteen parametersstatic <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBuffer.Type<P11> p11, Function<? super R, ? extends P11> g11, NetworkBuffer.Type<P12> p12, Function<? super R, ? extends P12> g12, NetworkBuffer.Type<P13> p13, Function<? super R, ? extends P13> g13, NetworkBufferTemplate.F13<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? super P11, ? super P12, ? super P13, ? extends R> ctor) Creates a template with thirteen parametersstatic <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBuffer.Type<P11> p11, Function<? super R, ? extends P11> g11, NetworkBuffer.Type<P12> p12, Function<? super R, ? extends P12> g12, NetworkBufferTemplate.F12<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? super P11, ? super P12, ? extends R> ctor) Creates a template with twelve parametersstatic <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBuffer.Type<P11> p11, Function<? super R, ? extends P11> g11, NetworkBufferTemplate.F11<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? super P11, ? extends R> ctor) Creates a template with eleven parametersstatic <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBufferTemplate.F10<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? extends R> ctor) Creates a template with ten parametersstatic <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBufferTemplate.F9<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? extends R> ctor) Creates a template with nine parametersstatic <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBufferTemplate.F8<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? extends R> ctor) Creates a template with eight parametersstatic <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBufferTemplate.F7<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? extends R> ctor) Creates a template with seven parametersstatic <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBufferTemplate.F6<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? extends R> ctor) Creates a template with six parametersstatic <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBufferTemplate.F5<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? extends R> ctor) Creates a template with five parametersstatic <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBufferTemplate.F4<? super P1, ? super P2, ? super P3, ? super P4, ? extends R> ctor) Creates a template with four parametersstatic <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBufferTemplate.F3<? super P1, ? super P2, ? super P3, ? extends R> ctor) Creates a template with three parametersstatic <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBufferTemplate.F2<? super P1, ? super P2, ? extends R> ctor) Creates a template with two parametersstatic <P1 extends @UnknownNullability Object, R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBufferTemplate.F1<? super P1, ? extends R> ctor) Creates a template with one parameterstatic <R extends @UnknownNullability Object>
NetworkBuffer.Type<R> template(R value) Creates a template that always returnsR
-
Constructor Details
-
NetworkBufferTemplate
public NetworkBufferTemplate()
-
-
Method Details
-
template
Creates a template that always returnsR- Type Parameters:
R- the type of the value- Parameters:
value- the value to return- Returns:
- the new template
-
template
public static <R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(Supplier<? extends R> supplier) Creates a template that uses a supplier to get a valueR- Type Parameters:
R- the type of the value- Parameters:
supplier- the supplier to get the value- Returns:
- the new template
-
template
public static <P1 extends @UnknownNullability Object, R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBufferTemplate.F1<? super P1, ? extends R> ctor) Creates a template with one parameter- Type Parameters:
P1- the type of the first parameterR- the type of the value- Parameters:
p1- the first parameterNetworkBuffer.Typeg1- the first parameter getterctor- the constructor forR- Returns:
- the new template
-
template
public static <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBufferTemplate.F2<? super P1, ? super P2, ? extends R> ctor) Creates a template with two parameters- Type Parameters:
P1- the type of the first parameterP2- the type of the second parameterR- the type of the value- Parameters:
p1- the first parameterNetworkBuffer.Typeg1- the first parameter getterp2- the second parameterNetworkBuffer.Typeg2- the second parameter getterctor- the constructor forR- Returns:
- the new template
-
template
public static <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBufferTemplate.F3<? super P1, ? super P2, ? super P3, ? extends R> ctor) Creates a template with three parameters- Type Parameters:
P1- the type of the first parameterP2- the type of the second parameterP3- the type of the third parameterR- the type of the value- Parameters:
p1- the first parameterNetworkBuffer.Typeg1- the first parameter getterp2- the second parameterNetworkBuffer.Typeg2- the second parameter getterp3- the third parameterNetworkBuffer.Typeg3- the third parameter getterctor- the constructor forR- Returns:
- the new template
-
template
public static <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBufferTemplate.F4<? super P1, ? super P2, ? super P3, ? super P4, ? extends R> ctor) Creates a template with four parameters- Type Parameters:
P1- the type of the first parameterP2- the type of the second parameterP3- the type of the third parameterP4- the type of the fourth parameterR- the type of the value- Parameters:
p1- the first parameterNetworkBuffer.Typeg1- the first parameter getterp2- the second parameterNetworkBuffer.Typeg2- the second parameter getterp3- the third parameterNetworkBuffer.Typeg3- the third parameter getterp4- the fourth parameterNetworkBuffer.Typeg4- the fourth parameter getterctor- the constructor forR- Returns:
- the new template
-
template
public static <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBufferTemplate.F5<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? extends R> ctor) Creates a template with five parameters- Type Parameters:
P1- the type of the first parameterP2- the type of the second parameterP3- the type of the third parameterP4- the type of the fourth parameterP5- the type of the fifth parameterR- the type of the value- Parameters:
p1- the first parameterNetworkBuffer.Typeg1- the first parameter getterp2- the second parameterNetworkBuffer.Typeg2- the second parameter getterp3- the third parameterNetworkBuffer.Typeg3- the third parameter getterp4- the fourth parameterNetworkBuffer.Typeg4- the fourth parameter getterp5- the fifth parameterNetworkBuffer.Typeg5- the fifth parameter getterctor- the constructor forR- Returns:
- the new template
-
template
public static <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBufferTemplate.F6<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? extends R> ctor) Creates a template with six parameters- Type Parameters:
P1- the type of the first parameterP2- the type of the second parameterP3- the type of the third parameterP4- the type of the fourth parameterP5- the type of the fifth parameterP6- the type of the sixth parameterR- the type of the value- Parameters:
p1- the first parameterNetworkBuffer.Typeg1- the first parameter getterp2- the second parameterNetworkBuffer.Typeg2- the second parameter getterp3- the third parameterNetworkBuffer.Typeg3- the third parameter getterp4- the fourth parameterNetworkBuffer.Typeg4- the fourth parameter getterp5- the fifth parameterNetworkBuffer.Typeg5- the fifth parameter getterp6- the sixth parameterNetworkBuffer.Typeg6- the sixth parameter getterctor- the constructor forR- Returns:
- the new template
-
template
public static <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBufferTemplate.F7<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? extends R> ctor) Creates a template with seven parameters- Type Parameters:
P1- the type of the first parameterP2- the type of the second parameterP3- the type of the third parameterP4- the type of the fourth parameterP5- the type of the fifth parameterP6- the type of the sixth parameterP7- the type of the seventh parameterR- the type of the value- Parameters:
p1- the first parameterNetworkBuffer.Typeg1- the first parameter getterp2- the second parameterNetworkBuffer.Typeg2- the second parameter getterp3- the third parameterNetworkBuffer.Typeg3- the third parameter getterp4- the fourth parameterNetworkBuffer.Typeg4- the fourth parameter getterp5- the fifth parameterNetworkBuffer.Typeg5- the fifth parameter getterp6- the sixth parameterNetworkBuffer.Typeg6- the sixth parameter getterp7- the seventh parameterNetworkBuffer.Typeg7- the seventh parameter getterctor- the constructor forR- Returns:
- the new template
-
template
public static <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBufferTemplate.F8<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? extends R> ctor) Creates a template with eight parameters- Type Parameters:
P1- the type of the first parameterP2- the type of the second parameterP3- the type of the third parameterP4- the type of the fourth parameterP5- the type of the fifth parameterP6- the type of the sixth parameterP7- the type of the seventh parameterP8- the type of the eighth parameterR- the type of the value- Parameters:
p1- the first parameterNetworkBuffer.Typeg1- the first parameter getterp2- the second parameterNetworkBuffer.Typeg2- the second parameter getterp3- the third parameterNetworkBuffer.Typeg3- the third parameter getterp4- the fourth parameterNetworkBuffer.Typeg4- the fourth parameter getterp5- the fifth parameterNetworkBuffer.Typeg5- the fifth parameter getterp6- the sixth parameterNetworkBuffer.Typeg6- the sixth parameter getterp7- the seventh parameterNetworkBuffer.Typeg7- the seventh parameter getterp8- the eighth parameterNetworkBuffer.Typeg8- the eighth parameter getterctor- the constructor forR- Returns:
- the new template
-
template
public static <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBufferTemplate.F9<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? extends R> ctor) Creates a template with nine parameters- Type Parameters:
P1- the type of the first parameterP2- the type of the second parameterP3- the type of the third parameterP4- the type of the fourth parameterP5- the type of the fifth parameterP6- the type of the sixth parameterP7- the type of the seventh parameterP8- the type of the eighth parameterP9- the type of the ninth parameterR- the type of the value- Parameters:
p1- the first parameterNetworkBuffer.Typeg1- the first parameter getterp2- the second parameterNetworkBuffer.Typeg2- the second parameter getterp3- the third parameterNetworkBuffer.Typeg3- the third parameter getterp4- the fourth parameterNetworkBuffer.Typeg4- the fourth parameter getterp5- the fifth parameterNetworkBuffer.Typeg5- the fifth parameter getterp6- the sixth parameterNetworkBuffer.Typeg6- the sixth parameter getterp7- the seventh parameterNetworkBuffer.Typeg7- the seventh parameter getterp8- the eighth parameterNetworkBuffer.Typeg8- the eighth parameter getterp9- the ninth parameterNetworkBuffer.Typeg9- the ninth parameter getterctor- the constructor forR- Returns:
- the new template
-
template
public static <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBufferTemplate.F10<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? extends R> ctor) Creates a template with ten parameters- Type Parameters:
P1- the type of the first parameterP2- the type of the second parameterP3- the type of the third parameterP4- the type of the fourth parameterP5- the type of the fifth parameterP6- the type of the sixth parameterP7- the type of the seventh parameterP8- the type of the eighth parameterP9- the type of the ninth parameterP10- the type of the tenth parameterR- the type of the value- Parameters:
p1- the first parameterNetworkBuffer.Typeg1- the first parameter getterp2- the second parameterNetworkBuffer.Typeg2- the second parameter getterp3- the third parameterNetworkBuffer.Typeg3- the third parameter getterp4- the fourth parameterNetworkBuffer.Typeg4- the fourth parameter getterp5- the fifth parameterNetworkBuffer.Typeg5- the fifth parameter getterp6- the sixth parameterNetworkBuffer.Typeg6- the sixth parameter getterp7- the seventh parameterNetworkBuffer.Typeg7- the seventh parameter getterp8- the eighth parameterNetworkBuffer.Typeg8- the eighth parameter getterp9- the ninth parameterNetworkBuffer.Typeg9- the ninth parameter getterp10- the tenth parameterNetworkBuffer.Typeg10- the tenth parameter getterctor- the constructor forR- Returns:
- the new template
-
template
public static <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBuffer.Type<P11> p11, Function<? super R, ? extends P11> g11, NetworkBufferTemplate.F11<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? super P11, ? extends R> ctor) Creates a template with eleven parameters- Type Parameters:
P1- the type of the first parameterP2- the type of the second parameterP3- the type of the third parameterP4- the type of the fourth parameterP5- the type of the fifth parameterP6- the type of the sixth parameterP7- the type of the seventh parameterP8- the type of the eighth parameterP9- the type of the ninth parameterP10- the type of the tenth parameterP11- the type of the eleventh parameterR- the type of the value- Parameters:
p1- the first parameterNetworkBuffer.Typeg1- the first parameter getterp2- the second parameterNetworkBuffer.Typeg2- the second parameter getterp3- the third parameterNetworkBuffer.Typeg3- the third parameter getterp4- the fourth parameterNetworkBuffer.Typeg4- the fourth parameter getterp5- the fifth parameterNetworkBuffer.Typeg5- the fifth parameter getterp6- the sixth parameterNetworkBuffer.Typeg6- the sixth parameter getterp7- the seventh parameterNetworkBuffer.Typeg7- the seventh parameter getterp8- the eighth parameterNetworkBuffer.Typeg8- the eighth parameter getterp9- the ninth parameterNetworkBuffer.Typeg9- the ninth parameter getterp10- the tenth parameterNetworkBuffer.Typeg10- the tenth parameter getterp11- the eleventh parameterNetworkBuffer.Typeg11- the eleventh parameter getterctor- the constructor forR- Returns:
- the new template
-
template
public static <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBuffer.Type<P11> p11, Function<? super R, ? extends P11> g11, NetworkBuffer.Type<P12> p12, Function<? super R, ? extends P12> g12, NetworkBufferTemplate.F12<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? super P11, ? super P12, ? extends R> ctor) Creates a template with twelve parameters- Type Parameters:
P1- the type of the first parameterP2- the type of the second parameterP3- the type of the third parameterP4- the type of the fourth parameterP5- the type of the fifth parameterP6- the type of the sixth parameterP7- the type of the seventh parameterP8- the type of the eighth parameterP9- the type of the ninth parameterP10- the type of the tenth parameterP11- the type of the eleventh parameterP12- the type of the twelfth parameterR- the type of the value- Parameters:
p1- the first parameterNetworkBuffer.Typeg1- the first parameter getterp2- the second parameterNetworkBuffer.Typeg2- the second parameter getterp3- the third parameterNetworkBuffer.Typeg3- the third parameter getterp4- the fourth parameterNetworkBuffer.Typeg4- the fourth parameter getterp5- the fifth parameterNetworkBuffer.Typeg5- the fifth parameter getterp6- the sixth parameterNetworkBuffer.Typeg6- the sixth parameter getterp7- the seventh parameterNetworkBuffer.Typeg7- the seventh parameter getterp8- the eighth parameterNetworkBuffer.Typeg8- the eighth parameter getterp9- the ninth parameterNetworkBuffer.Typeg9- the ninth parameter getterp10- the tenth parameterNetworkBuffer.Typeg10- the tenth parameter getterp11- the eleventh parameterNetworkBuffer.Typeg11- the eleventh parameter getterp12- the twelfth parameterNetworkBuffer.Typeg12- the twelfth parameter getterctor- the constructor forR- Returns:
- the new template
-
template
public static <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBuffer.Type<P11> p11, Function<? super R, ? extends P11> g11, NetworkBuffer.Type<P12> p12, Function<? super R, ? extends P12> g12, NetworkBuffer.Type<P13> p13, Function<? super R, ? extends P13> g13, NetworkBufferTemplate.F13<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? super P11, ? super P12, ? super P13, ? extends R> ctor) Creates a template with thirteen parameters- Type Parameters:
P1- the type of the first parameterP2- the type of the second parameterP3- the type of the third parameterP4- the type of the fourth parameterP5- the type of the fifth parameterP6- the type of the sixth parameterP7- the type of the seventh parameterP8- the type of the eighth parameterP9- the type of the ninth parameterP10- the type of the tenth parameterP11- the type of the eleventh parameterP12- the type of the twelfth parameterP13- the type of the thirteenth parameterR- the type of the value- Parameters:
p1- the first parameterNetworkBuffer.Typeg1- the first parameter getterp2- the second parameterNetworkBuffer.Typeg2- the second parameter getterp3- the third parameterNetworkBuffer.Typeg3- the third parameter getterp4- the fourth parameterNetworkBuffer.Typeg4- the fourth parameter getterp5- the fifth parameterNetworkBuffer.Typeg5- the fifth parameter getterp6- the sixth parameterNetworkBuffer.Typeg6- the sixth parameter getterp7- the seventh parameterNetworkBuffer.Typeg7- the seventh parameter getterp8- the eighth parameterNetworkBuffer.Typeg8- the eighth parameter getterp9- the ninth parameterNetworkBuffer.Typeg9- the ninth parameter getterp10- the tenth parameterNetworkBuffer.Typeg10- the tenth parameter getterp11- the eleventh parameterNetworkBuffer.Typeg11- the eleventh parameter getterp12- the twelfth parameterNetworkBuffer.Typeg12- the twelfth parameter getterp13- the thirteenth parameterNetworkBuffer.Typeg13- the thirteenth parameter getterctor- the constructor forR- Returns:
- the new template
-
template
public static <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBuffer.Type<P11> p11, Function<? super R, ? extends P11> g11, NetworkBuffer.Type<P12> p12, Function<? super R, ? extends P12> g12, NetworkBuffer.Type<P13> p13, Function<? super R, ? extends P13> g13, NetworkBuffer.Type<P14> p14, Function<? super R, ? extends P14> g14, NetworkBufferTemplate.F14<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? super P11, ? super P12, ? super P13, ? super P14, ? extends R> ctor) Creates a template with fourteen parameters- Type Parameters:
P1- the type of the first parameterP2- the type of the second parameterP3- the type of the third parameterP4- the type of the fourth parameterP5- the type of the fifth parameterP6- the type of the sixth parameterP7- the type of the seventh parameterP8- the type of the eighth parameterP9- the type of the ninth parameterP10- the type of the tenth parameterP11- the type of the eleventh parameterP12- the type of the twelfth parameterP13- the type of the thirteenth parameterP14- the type of the fourteenth parameterR- the type of the value- Parameters:
p1- the first parameterNetworkBuffer.Typeg1- the first parameter getterp2- the second parameterNetworkBuffer.Typeg2- the second parameter getterp3- the third parameterNetworkBuffer.Typeg3- the third parameter getterp4- the fourth parameterNetworkBuffer.Typeg4- the fourth parameter getterp5- the fifth parameterNetworkBuffer.Typeg5- the fifth parameter getterp6- the sixth parameterNetworkBuffer.Typeg6- the sixth parameter getterp7- the seventh parameterNetworkBuffer.Typeg7- the seventh parameter getterp8- the eighth parameterNetworkBuffer.Typeg8- the eighth parameter getterp9- the ninth parameterNetworkBuffer.Typeg9- the ninth parameter getterp10- the tenth parameterNetworkBuffer.Typeg10- the tenth parameter getterp11- the eleventh parameterNetworkBuffer.Typeg11- the eleventh parameter getterp12- the twelfth parameterNetworkBuffer.Typeg12- the twelfth parameter getterp13- the thirteenth parameterNetworkBuffer.Typeg13- the thirteenth parameter getterp14- the fourteenth parameterNetworkBuffer.Typeg14- the fourteenth parameter getterctor- the constructor forR- Returns:
- the new template
-
template
public static <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, P15 extends @UnknownNullability Object, R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBuffer.Type<P11> p11, Function<? super R, ? extends P11> g11, NetworkBuffer.Type<P12> p12, Function<? super R, ? extends P12> g12, NetworkBuffer.Type<P13> p13, Function<? super R, ? extends P13> g13, NetworkBuffer.Type<P14> p14, Function<? super R, ? extends P14> g14, NetworkBuffer.Type<P15> p15, Function<? super R, ? extends P15> g15, NetworkBufferTemplate.F15<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? super P11, ? super P12, ? super P13, ? super P14, ? super P15, ? extends R> ctor) Creates a template with fifteen parameters- Type Parameters:
P1- the type of the first parameterP2- the type of the second parameterP3- the type of the third parameterP4- the type of the fourth parameterP5- the type of the fifth parameterP6- the type of the sixth parameterP7- the type of the seventh parameterP8- the type of the eighth parameterP9- the type of the ninth parameterP10- the type of the tenth parameterP11- the type of the eleventh parameterP12- the type of the twelfth parameterP13- the type of the thirteenth parameterP14- the type of the fourteenth parameterP15- the type of the fifteenth parameterR- the type of the value- Parameters:
p1- the first parameterNetworkBuffer.Typeg1- the first parameter getterp2- the second parameterNetworkBuffer.Typeg2- the second parameter getterp3- the third parameterNetworkBuffer.Typeg3- the third parameter getterp4- the fourth parameterNetworkBuffer.Typeg4- the fourth parameter getterp5- the fifth parameterNetworkBuffer.Typeg5- the fifth parameter getterp6- the sixth parameterNetworkBuffer.Typeg6- the sixth parameter getterp7- the seventh parameterNetworkBuffer.Typeg7- the seventh parameter getterp8- the eighth parameterNetworkBuffer.Typeg8- the eighth parameter getterp9- the ninth parameterNetworkBuffer.Typeg9- the ninth parameter getterp10- the tenth parameterNetworkBuffer.Typeg10- the tenth parameter getterp11- the eleventh parameterNetworkBuffer.Typeg11- the eleventh parameter getterp12- the twelfth parameterNetworkBuffer.Typeg12- the twelfth parameter getterp13- the thirteenth parameterNetworkBuffer.Typeg13- the thirteenth parameter getterp14- the fourteenth parameterNetworkBuffer.Typeg14- the fourteenth parameter getterp15- the fifteenth parameterNetworkBuffer.Typeg15- the fifteenth parameter getterctor- the constructor forR- Returns:
- the new template
-
template
public static <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, P15 extends @UnknownNullability Object, P16 extends @UnknownNullability Object, R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBuffer.Type<P11> p11, Function<? super R, ? extends P11> g11, NetworkBuffer.Type<P12> p12, Function<? super R, ? extends P12> g12, NetworkBuffer.Type<P13> p13, Function<? super R, ? extends P13> g13, NetworkBuffer.Type<P14> p14, Function<? super R, ? extends P14> g14, NetworkBuffer.Type<P15> p15, Function<? super R, ? extends P15> g15, NetworkBuffer.Type<P16> p16, Function<? super R, ? extends P16> g16, NetworkBufferTemplate.F16<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? super P11, ? super P12, ? super P13, ? super P14, ? super P15, ? super P16, ? extends R> ctor) Creates a template with sixteen parameters- Type Parameters:
P1- the type of the first parameterP2- the type of the second parameterP3- the type of the third parameterP4- the type of the fourth parameterP5- the type of the fifth parameterP6- the type of the sixth parameterP7- the type of the seventh parameterP8- the type of the eighth parameterP9- the type of the ninth parameterP10- the type of the tenth parameterP11- the type of the eleventh parameterP12- the type of the twelfth parameterP13- the type of the thirteenth parameterP14- the type of the fourteenth parameterP15- the type of the fifteenth parameterP16- the type of the sixteenth parameterR- the type of the value- Parameters:
p1- the first parameterNetworkBuffer.Typeg1- the first parameter getterp2- the second parameterNetworkBuffer.Typeg2- the second parameter getterp3- the third parameterNetworkBuffer.Typeg3- the third parameter getterp4- the fourth parameterNetworkBuffer.Typeg4- the fourth parameter getterp5- the fifth parameterNetworkBuffer.Typeg5- the fifth parameter getterp6- the sixth parameterNetworkBuffer.Typeg6- the sixth parameter getterp7- the seventh parameterNetworkBuffer.Typeg7- the seventh parameter getterp8- the eighth parameterNetworkBuffer.Typeg8- the eighth parameter getterp9- the ninth parameterNetworkBuffer.Typeg9- the ninth parameter getterp10- the tenth parameterNetworkBuffer.Typeg10- the tenth parameter getterp11- the eleventh parameterNetworkBuffer.Typeg11- the eleventh parameter getterp12- the twelfth parameterNetworkBuffer.Typeg12- the twelfth parameter getterp13- the thirteenth parameterNetworkBuffer.Typeg13- the thirteenth parameter getterp14- the fourteenth parameterNetworkBuffer.Typeg14- the fourteenth parameter getterp15- the fifteenth parameterNetworkBuffer.Typeg15- the fifteenth parameter getterp16- the sixteenth parameterNetworkBuffer.Typeg16- the sixteenth parameter getterctor- the constructor forR- Returns:
- the new template
-
template
public static <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, P15 extends @UnknownNullability Object, P16 extends @UnknownNullability Object, P17 extends @UnknownNullability Object, R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBuffer.Type<P11> p11, Function<? super R, ? extends P11> g11, NetworkBuffer.Type<P12> p12, Function<? super R, ? extends P12> g12, NetworkBuffer.Type<P13> p13, Function<? super R, ? extends P13> g13, NetworkBuffer.Type<P14> p14, Function<? super R, ? extends P14> g14, NetworkBuffer.Type<P15> p15, Function<? super R, ? extends P15> g15, NetworkBuffer.Type<P16> p16, Function<? super R, ? extends P16> g16, NetworkBuffer.Type<P17> p17, Function<? super R, ? extends P17> g17, NetworkBufferTemplate.F17<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? super P11, ? super P12, ? super P13, ? super P14, ? super P15, ? super P16, ? super P17, ? extends R> ctor) Creates a template with seventeen parameters- Type Parameters:
P1- the type of the first parameterP2- the type of the second parameterP3- the type of the third parameterP4- the type of the fourth parameterP5- the type of the fifth parameterP6- the type of the sixth parameterP7- the type of the seventh parameterP8- the type of the eighth parameterP9- the type of the ninth parameterP10- the type of the tenth parameterP11- the type of the eleventh parameterP12- the type of the twelfth parameterP13- the type of the thirteenth parameterP14- the type of the fourteenth parameterP15- the type of the fifteenth parameterP16- the type of the sixteenth parameterP17- the type of the seventeenth parameterR- the type of the value- Parameters:
p1- the first parameterNetworkBuffer.Typeg1- the first parameter getterp2- the second parameterNetworkBuffer.Typeg2- the second parameter getterp3- the third parameterNetworkBuffer.Typeg3- the third parameter getterp4- the fourth parameterNetworkBuffer.Typeg4- the fourth parameter getterp5- the fifth parameterNetworkBuffer.Typeg5- the fifth parameter getterp6- the sixth parameterNetworkBuffer.Typeg6- the sixth parameter getterp7- the seventh parameterNetworkBuffer.Typeg7- the seventh parameter getterp8- the eighth parameterNetworkBuffer.Typeg8- the eighth parameter getterp9- the ninth parameterNetworkBuffer.Typeg9- the ninth parameter getterp10- the tenth parameterNetworkBuffer.Typeg10- the tenth parameter getterp11- the eleventh parameterNetworkBuffer.Typeg11- the eleventh parameter getterp12- the twelfth parameterNetworkBuffer.Typeg12- the twelfth parameter getterp13- the thirteenth parameterNetworkBuffer.Typeg13- the thirteenth parameter getterp14- the fourteenth parameterNetworkBuffer.Typeg14- the fourteenth parameter getterp15- the fifteenth parameterNetworkBuffer.Typeg15- the fifteenth parameter getterp16- the sixteenth parameterNetworkBuffer.Typeg16- the sixteenth parameter getterp17- the seventeenth parameterNetworkBuffer.Typeg17- the seventeenth parameter getterctor- the constructor forR- Returns:
- the new template
-
template
public static <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, P15 extends @UnknownNullability Object, P16 extends @UnknownNullability Object, P17 extends @UnknownNullability Object, P18 extends @UnknownNullability Object, R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBuffer.Type<P11> p11, Function<? super R, ? extends P11> g11, NetworkBuffer.Type<P12> p12, Function<? super R, ? extends P12> g12, NetworkBuffer.Type<P13> p13, Function<? super R, ? extends P13> g13, NetworkBuffer.Type<P14> p14, Function<? super R, ? extends P14> g14, NetworkBuffer.Type<P15> p15, Function<? super R, ? extends P15> g15, NetworkBuffer.Type<P16> p16, Function<? super R, ? extends P16> g16, NetworkBuffer.Type<P17> p17, Function<? super R, ? extends P17> g17, NetworkBuffer.Type<P18> p18, Function<? super R, ? extends P18> g18, NetworkBufferTemplate.F18<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? super P11, ? super P12, ? super P13, ? super P14, ? super P15, ? super P16, ? super P17, ? super P18, ? extends R> ctor) Creates a template with eighteen parameters- Type Parameters:
P1- the type of the first parameterP2- the type of the second parameterP3- the type of the third parameterP4- the type of the fourth parameterP5- the type of the fifth parameterP6- the type of the sixth parameterP7- the type of the seventh parameterP8- the type of the eighth parameterP9- the type of the ninth parameterP10- the type of the tenth parameterP11- the type of the eleventh parameterP12- the type of the twelfth parameterP13- the type of the thirteenth parameterP14- the type of the fourteenth parameterP15- the type of the fifteenth parameterP16- the type of the sixteenth parameterP17- the type of the seventeenth parameterP18- the type of the eighteenth parameterR- the type of the value- Parameters:
p1- the first parameterNetworkBuffer.Typeg1- the first parameter getterp2- the second parameterNetworkBuffer.Typeg2- the second parameter getterp3- the third parameterNetworkBuffer.Typeg3- the third parameter getterp4- the fourth parameterNetworkBuffer.Typeg4- the fourth parameter getterp5- the fifth parameterNetworkBuffer.Typeg5- the fifth parameter getterp6- the sixth parameterNetworkBuffer.Typeg6- the sixth parameter getterp7- the seventh parameterNetworkBuffer.Typeg7- the seventh parameter getterp8- the eighth parameterNetworkBuffer.Typeg8- the eighth parameter getterp9- the ninth parameterNetworkBuffer.Typeg9- the ninth parameter getterp10- the tenth parameterNetworkBuffer.Typeg10- the tenth parameter getterp11- the eleventh parameterNetworkBuffer.Typeg11- the eleventh parameter getterp12- the twelfth parameterNetworkBuffer.Typeg12- the twelfth parameter getterp13- the thirteenth parameterNetworkBuffer.Typeg13- the thirteenth parameter getterp14- the fourteenth parameterNetworkBuffer.Typeg14- the fourteenth parameter getterp15- the fifteenth parameterNetworkBuffer.Typeg15- the fifteenth parameter getterp16- the sixteenth parameterNetworkBuffer.Typeg16- the sixteenth parameter getterp17- the seventeenth parameterNetworkBuffer.Typeg17- the seventeenth parameter getterp18- the eighteenth parameterNetworkBuffer.Typeg18- the eighteenth parameter getterctor- the constructor forR- Returns:
- the new template
-
template
public static <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, P15 extends @UnknownNullability Object, P16 extends @UnknownNullability Object, P17 extends @UnknownNullability Object, P18 extends @UnknownNullability Object, P19 extends @UnknownNullability Object, R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBuffer.Type<P11> p11, Function<? super R, ? extends P11> g11, NetworkBuffer.Type<P12> p12, Function<? super R, ? extends P12> g12, NetworkBuffer.Type<P13> p13, Function<? super R, ? extends P13> g13, NetworkBuffer.Type<P14> p14, Function<? super R, ? extends P14> g14, NetworkBuffer.Type<P15> p15, Function<? super R, ? extends P15> g15, NetworkBuffer.Type<P16> p16, Function<? super R, ? extends P16> g16, NetworkBuffer.Type<P17> p17, Function<? super R, ? extends P17> g17, NetworkBuffer.Type<P18> p18, Function<? super R, ? extends P18> g18, NetworkBuffer.Type<P19> p19, Function<? super R, ? extends P19> g19, NetworkBufferTemplate.F19<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? super P11, ? super P12, ? super P13, ? super P14, ? super P15, ? super P16, ? super P17, ? super P18, ? super P19, ? extends R> ctor) Creates a template with nineteen parameters- Type Parameters:
P1- the type of the first parameterP2- the type of the second parameterP3- the type of the third parameterP4- the type of the fourth parameterP5- the type of the fifth parameterP6- the type of the sixth parameterP7- the type of the seventh parameterP8- the type of the eighth parameterP9- the type of the ninth parameterP10- the type of the tenth parameterP11- the type of the eleventh parameterP12- the type of the twelfth parameterP13- the type of the thirteenth parameterP14- the type of the fourteenth parameterP15- the type of the fifteenth parameterP16- the type of the sixteenth parameterP17- the type of the seventeenth parameterP18- the type of the eighteenth parameterR- the type of the value- Parameters:
p1- the first parameterNetworkBuffer.Typeg1- the first parameter getterp2- the second parameterNetworkBuffer.Typeg2- the second parameter getterp3- the third parameterNetworkBuffer.Typeg3- the third parameter getterp4- the fourth parameterNetworkBuffer.Typeg4- the fourth parameter getterp5- the fifth parameterNetworkBuffer.Typeg5- the fifth parameter getterp6- the sixth parameterNetworkBuffer.Typeg6- the sixth parameter getterp7- the seventh parameterNetworkBuffer.Typeg7- the seventh parameter getterp8- the eighth parameterNetworkBuffer.Typeg8- the eighth parameter getterp9- the ninth parameterNetworkBuffer.Typeg9- the ninth parameter getterp10- the tenth parameterNetworkBuffer.Typeg10- the tenth parameter getterp11- the eleventh parameterNetworkBuffer.Typeg11- the eleventh parameter getterp12- the twelfth parameterNetworkBuffer.Typeg12- the twelfth parameter getterp13- the thirteenth parameterNetworkBuffer.Typeg13- the thirteenth parameter getterp14- the fourteenth parameterNetworkBuffer.Typeg14- the fourteenth parameter getterp15- the fifteenth parameterNetworkBuffer.Typeg15- the fifteenth parameter getterp16- the sixteenth parameterNetworkBuffer.Typeg16- the sixteenth parameter getterp17- the seventeenth parameterNetworkBuffer.Typeg17- the seventeenth parameter getterp18- the eighteenth parameterNetworkBuffer.Typeg18- the eighteenth parameter getterp19- the nineteenth parameterNetworkBuffer.Typeg19- the nineteenth parameter getterctor- the constructor forR- Returns:
- the new template
-
template
public static <P1 extends @UnknownNullability Object, P2 extends @UnknownNullability Object, P3 extends @UnknownNullability Object, P4 extends @UnknownNullability Object, P5 extends @UnknownNullability Object, P6 extends @UnknownNullability Object, P7 extends @UnknownNullability Object, P8 extends @UnknownNullability Object, P9 extends @UnknownNullability Object, P10 extends @UnknownNullability Object, P11 extends @UnknownNullability Object, P12 extends @UnknownNullability Object, P13 extends @UnknownNullability Object, P14 extends @UnknownNullability Object, P15 extends @UnknownNullability Object, P16 extends @UnknownNullability Object, P17 extends @UnknownNullability Object, P18 extends @UnknownNullability Object, P19 extends @UnknownNullability Object, P20 extends @UnknownNullability Object, R extends @UnknownNullability Object> NetworkBuffer.Type<R> template(NetworkBuffer.Type<P1> p1, Function<? super R, ? extends P1> g1, NetworkBuffer.Type<P2> p2, Function<? super R, ? extends P2> g2, NetworkBuffer.Type<P3> p3, Function<? super R, ? extends P3> g3, NetworkBuffer.Type<P4> p4, Function<? super R, ? extends P4> g4, NetworkBuffer.Type<P5> p5, Function<? super R, ? extends P5> g5, NetworkBuffer.Type<P6> p6, Function<? super R, ? extends P6> g6, NetworkBuffer.Type<P7> p7, Function<? super R, ? extends P7> g7, NetworkBuffer.Type<P8> p8, Function<? super R, ? extends P8> g8, NetworkBuffer.Type<P9> p9, Function<? super R, ? extends P9> g9, NetworkBuffer.Type<P10> p10, Function<? super R, ? extends P10> g10, NetworkBuffer.Type<P11> p11, Function<? super R, ? extends P11> g11, NetworkBuffer.Type<P12> p12, Function<? super R, ? extends P12> g12, NetworkBuffer.Type<P13> p13, Function<? super R, ? extends P13> g13, NetworkBuffer.Type<P14> p14, Function<? super R, ? extends P14> g14, NetworkBuffer.Type<P15> p15, Function<? super R, ? extends P15> g15, NetworkBuffer.Type<P16> p16, Function<? super R, ? extends P16> g16, NetworkBuffer.Type<P17> p17, Function<? super R, ? extends P17> g17, NetworkBuffer.Type<P18> p18, Function<? super R, ? extends P18> g18, NetworkBuffer.Type<P19> p19, Function<? super R, ? extends P19> g19, NetworkBuffer.Type<P20> p20, Function<? super R, ? extends P20> g20, NetworkBufferTemplate.F20<? super P1, ? super P2, ? super P3, ? super P4, ? super P5, ? super P6, ? super P7, ? super P8, ? super P9, ? super P10, ? super P11, ? super P12, ? super P13, ? super P14, ? super P15, ? super P16, ? super P17, ? super P18, ? super P19, ? super P20, ? extends R> ctor) Creates a template with twenty parameters- Type Parameters:
P1- the type of the first parameterP2- the type of the second parameterP3- the type of the third parameterP4- the type of the fourth parameterP5- the type of the fifth parameterP6- the type of the sixth parameterP7- the type of the seventh parameterP8- the type of the eighth parameterP9- the type of the ninth parameterP10- the type of the tenth parameterP11- the type of the eleventh parameterP12- the type of the twelfth parameterP13- the type of the thirteenth parameterP14- the type of the fourteenth parameterP15- the type of the fifteenth parameterP16- the type of the sixteenth parameterP17- the type of the seventeenth parameterP18- the type of the eighteenth parameterP19- the type of the nineteenth parameterP20- the type of the twentieth parameterR- the type of the value- Parameters:
p1- the first parameterNetworkBuffer.Typeg1- the first parameter getterp2- the second parameterNetworkBuffer.Typeg2- the second parameter getterp3- the third parameterNetworkBuffer.Typeg3- the third parameter getterp4- the fourth parameterNetworkBuffer.Typeg4- the fourth parameter getterp5- the fifth parameterNetworkBuffer.Typeg5- the fifth parameter getterp6- the sixth parameterNetworkBuffer.Typeg6- the sixth parameter getterp7- the seventh parameterNetworkBuffer.Typeg7- the seventh parameter getterp8- the eighth parameterNetworkBuffer.Typeg8- the eighth parameter getterp9- the ninth parameterNetworkBuffer.Typeg9- the ninth parameter getterp10- the tenth parameterNetworkBuffer.Typeg10- the tenth parameter getterp11- the eleventh parameterNetworkBuffer.Typeg11- the eleventh parameter getterp12- the twelfth parameterNetworkBuffer.Typeg12- the twelfth parameter getterp13- the thirteenth parameterNetworkBuffer.Typeg13- the thirteenth parameter getterp14- the fourteenth parameterNetworkBuffer.Typeg14- the fourteenth parameter getterp15- the fifteenth parameterNetworkBuffer.Typeg15- the fifteenth parameter getterp16- the sixteenth parameterNetworkBuffer.Typeg16- the sixteenth parameter getterp17- the seventeenth parameterNetworkBuffer.Typeg17- the seventeenth parameter getterp18- the eighteenth parameterNetworkBuffer.Typeg18- the eighteenth parameter getterp19- the nineteenth parameterNetworkBuffer.Typeg19- the nineteenth parameter getterp20- the twentieth parameterNetworkBuffer.Typeg20- the twentieth parameter getterctor- the constructor forR- Returns:
- the new template
-