Class SortedMapMarshaller<K, V, T extends SortedMap<K,V>>

java.lang.Object
org.wildfly.clustering.marshalling.protostream.util.AbstractMapMarshaller<K,V,T>
org.wildfly.clustering.marshalling.protostream.util.SortedMapMarshaller<K,V,T>
Type Parameters:
K - the map key type
V - the map value type
T - the map type of this marshaller
All Implemented Interfaces:
org.infinispan.protostream.BaseMarshaller<T>, org.infinispan.protostream.ProtobufTagMarshaller<T>, Marshallable<T>, ProtoStreamMarshaller<T>, Readable<T>, Writable<T>

public class SortedMapMarshaller<K, V, T extends SortedMap<K,V>> extends AbstractMapMarshaller<K,V,T>
Marshaller for a SortedMap.
Author:
Paul Ferraro
  • Constructor Details

    • SortedMapMarshaller

      public SortedMapMarshaller(Function<Comparator<? super K>, T> factory)
      Creates a marshaller for a sorted map.
      Parameters:
      factory - a sorted map factory
  • Method Details