Class PortGeometry

  • All Implemented Interfaces:
    java.lang.Comparable<PortGeometry>

    public final class PortGeometry
    extends java.lang.Object
    implements java.lang.Comparable<PortGeometry>
    • Constructor Detail

      • PortGeometry

        public PortGeometry​(java.lang.String id,
                            double position,
                            double height,
                            int score)
    • Method Detail

      • translateY

        public PortGeometry translateY​(double deltaY)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getHeight

        public double getHeight()
      • getPosition

        public double getPosition()
      • getLastY

        public double getLastY()
      • getScore

        public int getScore()
      • getId

        public java.lang.String getId()
      • compareTo

        public int compareTo​(PortGeometry other)
        Specified by:
        compareTo in interface java.lang.Comparable<PortGeometry>