Class Stripe

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

    public class Stripe
    extends java.lang.Object
    implements java.lang.Comparable<Stripe>
    • Constructor Summary

      Constructors 
      Constructor Description
      Stripe​(double x1, double x2, double value)  
    • Constructor Detail

      • Stripe

        public Stripe​(double x1,
                      double x2,
                      double value)
    • Method Detail

      • toString

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

        public boolean contains​(double x)
      • compareTo

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

        public double getValue()
      • getStart

        public final double getStart()
      • getEnd

        public final double getEnd()