Examples of GKeyValuePair


Examples of com.bj58.spat.gaea.serializer.classes.GKeyValuePair

        int typeId = TypeHelper.GetTypeId(type);
        outStream.WriteInt32(typeId);
        if (outStream.WriteRef(obj)) {
            return;
        }
        GKeyValuePair obj2 = (GKeyValuePair) obj;
        Object key = obj2.getKey();
        Object value = obj2.getValue();
        Class itemKeyType = key.getClass();
        int itemKeyTypeId = TypeHelper.GetTypeId(itemKeyType);
        outStream.WriteInt32(itemKeyTypeId);
        SerializerFactory.GetSerializer(itemKeyType).WriteObject(key, outStream);
View Full Code Here

Examples of com.bj58.spat.gaea.serializer.classes.GKeyValuePair

            if (itemValueType == null) {
                throw new ClassNotFoundException("Cannot find class with typId,target class:KeyValue[value]" + ",typeId:" + itemValueTypeId);
            }
            value = SerializerFactory.GetSerializer(itemValueType).ReadObject(inStream, itemValueType);
        }
        GKeyValuePair kv = new GKeyValuePair(key, value);
        inStream.SetRef(hashcode, kv);
        return kv;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.