Class TernaryFieldMarshaller<T,F1,F2,F3>

Type Parameters:
T - the target type of this marshaller
F1 - the first component field type
F2 - the second component field type
F3 - the third component field type
All Implemented Interfaces:
Function<Object[],T>, org.infinispan.protostream.BaseMarshaller<T>, org.infinispan.protostream.ProtobufTagMarshaller<T>, Marshallable<T>, ProtoStreamMarshaller<T>, Readable<T>, Writable<T>

public class TernaryFieldMarshaller<T,F1,F2,F3> extends TernaryMemberMarshaller<T,Field,F1,F2,F3>
Generic marshaller based on three non-public fields.
Author:
Paul Ferraro
  • Constructor Details

    • TernaryFieldMarshaller

      public TernaryFieldMarshaller(Class<? extends T> type, Class<F1> field1Type, Class<F2> field2Type, Class<F3> field3Type, TriFunction<F1,F2,F3,T> factory)
      Creates a marshaller for the specified fields.
      Parameters:
      type - the marshalled object type
      field1Type - the former field type
      field2Type - the latter field type
      field3Type - the latter field type
      factory - the object factory