Constructor and Description |
---|
Stripe(double x1,
double x2,
double value) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Stripe other) |
boolean |
contains(double x) |
double |
getEnd() |
double |
getStart() |
double |
getValue() |
java.lang.String |
toString() |
public java.lang.String toString()
toString
in class java.lang.Object
public boolean contains(double x)
public int compareTo(Stripe other)
compareTo
in interface java.lang.Comparable<Stripe>
public double getValue()
public final double getStart()
public final double getEnd()
Copyright © 2020. All Rights Reserved.