Class SphericalCoordinates.DataTransferObject

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    SphericalCoordinates

    private static class SphericalCoordinates.DataTransferObject
    extends java.lang.Object
    implements java.io.Serializable
    Internal class used only for serialization.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID
      Serializable UID.
      private double x
      Abscissa.
      private double y
      Ordinate.
      private double z
      Height.
    • Constructor Summary

      Constructors 
      Constructor Description
      DataTransferObject​(double x, double y, double z)
      Simple constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private java.lang.Object readResolve()
      Replace the deserialized data transfer object with a SphericalCoordinates.
      • Methods inherited from class java.lang.Object

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

      • serialVersionUID

        private static final long serialVersionUID
        Serializable UID.
        See Also:
        Constant Field Values
      • x

        private final double x
        Abscissa.
      • y

        private final double y
        Ordinate.
      • z

        private final double z
        Height.
    • Constructor Detail

      • DataTransferObject

        DataTransferObject​(double x,
                           double y,
                           double z)
        Simple constructor.
        Parameters:
        x - abscissa
        y - ordinate
        z - height