public static void serialize( SerializationStreamWriter s, SMapMultiKeySingleValue<Object, Object> map) throws SerializationException { s.writeInt(map.keys.length); for (int i = 0; i < map.keys.length; i++) s.writeObject(map.keys[i]); s.writeInt(map.values.length); for (int i = 0; i < map.values.length; i++) s.writeObject(map.values[i]); }
public static void serialize(SerializationStreamWriter streamWriter, Collection instance) throws SerializationException { int size = instance.size(); streamWriter.writeInt(size); for (Object obj : instance) { streamWriter.writeObject(obj); } }
public static void serialize( SerializationStreamWriter streamWriter, com.cpcoriente.cidecuero.springgwt.MrpCrrmM.shared.compra.enumerador.TipoEstadoPedidoEnum instance) throws SerializationException { assert (instance != null); streamWriter.writeInt(instance.ordinal()); }
public static void serialize(SerializationStreamWriter streamWriter, RpcMap instance) throws SerializationException { int size = instance.size(); streamWriter.writeInt(size); for (Entry<String, Object> entry : instance.entrySet()) { streamWriter.writeString(entry.getKey()); streamWriter.writeObject(entry.getValue()); } }
public static void serialize( SerializationStreamWriter streamWriter, com.medassets.report.shared.FlexGeneralParamItemDTO instance) throws SerializationException { streamWriter.writeString(getCurrentValue(instance)); streamWriter.writeString(getDefaultSelection(instance)); streamWriter.writeString(getFieldName(instance)); streamWriter.writeString(getFieldType(instance)); streamWriter.writeString(getFormulaDestination(instance)); streamWriter.writeString(getFunctionType(instance)); streamWriter.writeObject(getHelpId(instance)); streamWriter.writeString(getLabelName(instance)); streamWriter.writeObject(getListOfValues(instance)); streamWriter.writeObject(getRptDictionaryId(instance)); streamWriter.writeObject(getRptGeneralObjectId(instance)); streamWriter.writeObject(getSetEachGroup(instance)); streamWriter.writeString(getSetTo(instance)); streamWriter.writeInt(getWizStyle(instance)); }