private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } }
_val51.read(iprot); struct.nodeMap.put(_key50, _val51);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TPathsDump struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.rootId = iprot.readI32(); struct.setRootIdIsSet(true); { org.apache.thrift.protocol.TMap _map54 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.nodeMap = new HashMap<Integer,TPathEntry>(2*_map54.size); for (int _i55 = 0; _i55 < _map54.size; ++_i55) { int _key56; // required TPathEntry _val57; // required _key56 = iprot.readI32(); _val57 = new TPathEntry(); _val57.read(iprot); struct.nodeMap.put(_key56, _val57); } } struct.setNodeMapIsSet(true); } }