@Override
 public void readPortable(PortableReader in) throws IOException {
   key = in.readUTF("key");
   stringVal = in.readUTF("stringVal");
   doubleVal = in.readDouble("doubleVal");
   longVal = in.readLong("longVal");
   intVal = in.readInt("intVal");
 }
Пример #2
0
 public void readPortable(PortableReader reader) throws IOException {
   b = reader.readByte("b");
   bool = reader.readBoolean("bool");
   c = reader.readChar("c");
   s = reader.readShort("s");
   i = reader.readInt("i");
   l = reader.readLong("l");
   f = reader.readFloat("f");
   d = reader.readDouble("d");
   str = reader.readUTF("str");
 }