Package gw.util

Class Rational.Serializer

  • All Implemented Interfaces:
    java.io.Externalizable, java.io.Serializable
    Enclosing class:
    Rational

    private static class Rational.Serializer
    extends java.lang.Object
    implements java.io.Externalizable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Rational _rational  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void readExternal​(java.io.ObjectInput in)  
      (package private) java.lang.Object readResolve()  
      void writeExternal​(java.io.ObjectOutput out)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

    • Constructor Detail

      • Serializer

        public Serializer()
      • Serializer

        public Serializer​(Rational rational)
    • Method Detail

      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Throws:
        java.io.IOException
      • readExternal

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Specified by:
        readExternal in interface java.io.Externalizable
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • readResolve

        java.lang.Object readResolve()