java.lang.Object
net.sourceforge.plantuml.klimt.compress.Slot
All Implemented Interfaces:
Comparable<Slot>

public class Slot extends Object implements Comparable<Slot>
  • Constructor Details

    • Slot

      public Slot(double start, double end)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getStart

      public double getStart()
    • getEnd

      public double getEnd()
    • size

      public double size()
    • contains

      public boolean contains(double v)
    • intersect

      public boolean intersect(Slot other)
    • merge

      public Slot merge(Slot other)
    • intersect

      public Slot intersect(double otherStart, double otherEnd)
    • compareTo

      public int compareTo(Slot other)
      Specified by:
      compareTo in interface Comparable<Slot>