Package com.inductiveautomation.rm.shape
Class RMShapeTable.Span
java.lang.Object
com.inductiveautomation.rm.shape.RMShapeTable.Span
- All Implemented Interfaces:
- Comparable
- Direct Known Subclasses:
- RMShapeTable.Column,- RMShapeTable.Row
- Enclosing class:
- RMShapeTable
A class to represent an interval
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintComparable implementation.booleancontains(double aValue) Returns whether given value is contained in the span (inclusive).doubleReturns the span length.booleanintersects(RMShapeTable.Span aSpan) Returns whether given span intersects this span.toString()Returns string representation of span.
- 
Constructor Details- 
Spanpublic Span(double aStart, double anEnd) Creates a new span.
 
- 
- 
Method Details- 
getLengthpublic double getLength()Returns the span length.
- 
containspublic boolean contains(double aValue) Returns whether given value is contained in the span (inclusive).
- 
intersectsReturns whether given span intersects this span.
- 
toStringReturns string representation of span.
- 
compareToComparable implementation.- Specified by:
- compareToin interface- Comparable
 
 
-