Class UnmodifiableCollectionMarshaller<E,T extends Collection<Object>>

All Implemented Interfaces:
org.infinispan.protostream.BaseMarshaller<T>, org.infinispan.protostream.ProtobufTagMarshaller<T>, Marshallable<T>, ProtoStreamMarshaller<T>, Readable<T>, Writable<T>

public class UnmodifiableCollectionMarshaller<E,T extends Collection<Object>> extends SimpleFunctionalMarshaller<T,Collection<Object>>
Marshaller for unmodifiable collections created via List.of() or Set.of() methods.
Author:
Paul Ferraro
  • Constructor Details

    • UnmodifiableCollectionMarshaller

      public UnmodifiableCollectionMarshaller(Class<T> targetClass, Function<Object[],T> factory)