net.sourceforge.plantuml.ugraphic
Class Slot

java.lang.Object
  extended by net.sourceforge.plantuml.ugraphic.Slot
All Implemented Interfaces:
Comparable<Slot>

public class Slot
extends Object
implements Comparable<Slot>


Constructor Summary
Slot(double start, double end)
           
 
Method Summary
 int compareTo(Slot other)
           
 boolean contains(double v)
           
 double getEnd()
           
 double getStart()
           
 boolean intersect(Slot other)
           
 Slot merge(Slot other)
           
 double size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Slot

public Slot(double start,
            double end)
Method Detail

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)

compareTo

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


Copyright © 2014. All Rights Reserved.