com.google.gwt.user.client.rpc.core.java.util
Class LinkedHashMap_CustomFieldSerializer

java.lang.Object
  extended by com.google.gwt.user.client.rpc.core.java.util.LinkedHashMap_CustomFieldSerializer

public final class LinkedHashMap_CustomFieldSerializer
extends java.lang.Object

Custom field serializer for LinkedHashMap for the server (uses reflection).


Constructor Summary
LinkedHashMap_CustomFieldSerializer()
           
 
Method Summary
static void deserialize(SerializationStreamReader streamReader, java.util.LinkedHashMap instance)
           
static boolean getAccessOrderNoReflection(java.util.LinkedHashMap instance)
          Infers the value of the private accessOrder field of instance by examining its behavior on a set of test inputs, without using reflection.
static java.util.LinkedHashMap instantiate(SerializationStreamReader streamReader)
           
static void serialize(SerializationStreamWriter streamWriter, java.util.LinkedHashMap instance)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkedHashMap_CustomFieldSerializer

public LinkedHashMap_CustomFieldSerializer()
Method Detail

deserialize

public static void deserialize(SerializationStreamReader streamReader,
                               java.util.LinkedHashMap instance)
                        throws SerializationException
Throws:
SerializationException

getAccessOrderNoReflection

public static boolean getAccessOrderNoReflection(java.util.LinkedHashMap instance)
Infers the value of the private accessOrder field of instance by examining its behavior on a set of test inputs, without using reflection. Note that this implementation clones the instance, which could be slow.

Parameters:
instance - the instance to check
Returns:
the value of instance.accessOrder

instantiate

public static java.util.LinkedHashMap instantiate(SerializationStreamReader streamReader)
                                           throws SerializationException
Throws:
SerializationException

serialize

public static void serialize(SerializationStreamWriter streamWriter,
                             java.util.LinkedHashMap instance)
                      throws SerializationException
Throws:
SerializationException