@Test public void testWriteObject() throws IOException, ClassNotFoundException { FullAddress fullAddress = new FullAddress("cId", "pN", "cityId", "Nan Long Street", "51000"); this.fstObjectOutput.writeObject(fullAddress); this.flushToInput(); FullAddress result = this.fstObjectInput.readObject(FullAddress.class); assertThat(result, is(fullAddress)); }
@Override public void writeObject(Object v) throws IOException { output.writeObject(v); }
FstObjectOutput implements ObjectOutput { @Override public void writeObject(Object v) throws IOException { output.writeObject(v); } }
FstObjectOutput implements ObjectOutput { @Override public void writeObject(Object v) throws IOException { output.writeObject(v); } FstObjectOutput(OutputStream outputStream); }
FstObjectOutput implements ObjectOutput { @Override public void writeObject(Object v) throws IOException { output.writeObject(v); } FstObjectOutput(OutputStream outputStream); @Override void writeBool(boolean v); @Override void writeByte(byte v); @Override void writeShort(short v); @Override void writeInt(int v); @Override void writeLong(long v); @Override void writeFloat(float v); @Override void writeDouble(double v); @Override void writeBytes(byte[] v); @Override void writeBytes(byte[] v, int off, int len); @Override void writeUTF(String v); @Override void writeObject(Object v); @Override void flushBuffer(); }
FstObjectOutput implements ObjectOutput { @Override public void writeObject(Object v) throws IOException { output.writeObject(v); } FstObjectOutput(OutputStream outputStream); @Override void writeBool(boolean v); @Override void writeByte(byte v); @Override void writeShort(short v); @Override void writeInt(int v); @Override void writeLong(long v); @Override void writeFloat(float v); @Override void writeDouble(double v); @Override void writeBytes(byte[] v); @Override void writeBytes(byte[] v, int off, int len); @Override void writeUTF(String v); @Override void writeObject(Object v); @Override void flushBuffer();  }