a poor-man 's clone for serializable but not cloneable objects : serializes an object to the pipe , then deserializes it . concode_field_sep DataOutputStream output concode_elem_sep DataInputStream input concode_elem_sep int size concode_elem_sep int pull concode_elem_sep byte[] buffer concode_field_sep int pull concode_elem_sep int pull concode_elem_sep int size concode_elem_sep int numRead concode_elem_sep void resize concode_elem_sep void reset concode_elem_sep String toString concode_elem_sep int numWritten concode_elem_sep void push concode_elem_sep void push
Object function ( Serializable arg0 ) { DataPipe loc0 = new DataPipe ( ) ; ObjectOutputStream loc1 = new ObjectOutputStream ( loc0 . output ) ; ObjectInputStream loc2 = new ObjectInputStream ( loc0 . input ) ; loc1 . writeObject ( arg0 ) ; return loc2 . readObject ( ) ; }