Package network.aika

Interface Writable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void readFields​(java.io.DataInput in, Model m)
      Deserialize the fields of this object from in.
      void write​(java.io.DataOutput out)
      Serialize the fields of this object to out.
    • Method Detail

      • write

        void write​(java.io.DataOutput out)
            throws java.io.IOException
        Serialize the fields of this object to out.
        Parameters:
        out - DataOuput to serialize this object into.
        Throws:
        java.io.IOException
      • readFields

        void readFields​(java.io.DataInput in,
                        Model m)
                 throws java.io.IOException
        Deserialize the fields of this object from in.

        For efficiency, implementations should attempt to re-use storage in the existing object where possible.

        Parameters:
        in - DataInput to deseriablize this object from.
        Throws:
        java.io.IOException