
org.wildfly.clustering.marshalling.protostream.util.LinkedHashMapMarshaller Maven / Gradle / Ivy
/*
* Copyright The WildFly Authors
* SPDX-License-Identifier: Apache-2.0
*/
package org.wildfly.clustering.marshalling.protostream.util;
import java.io.IOException;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import org.infinispan.protostream.descriptors.WireType;
import org.wildfly.clustering.marshalling.protostream.ProtoStreamReader;
import org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter;
import org.wildfly.clustering.marshalling.spi.util.LinkedHashMapExternalizer;
/**
* Marshaller for a {@link LinkedHashMap}.
* @author Paul Ferraro
*/
public class LinkedHashMapMarshaller extends AbstractMapMarshaller> {
private static final int ACCESS_ORDER_INDEX = VALUE_INDEX + 1;
@SuppressWarnings("unchecked")
public LinkedHashMapMarshaller() {
super((Class>) (Class>) LinkedHashMap.class);
}
@Override
public LinkedHashMap
© 2015 - 2025 Weber Informatics LLC | Privacy Policy