net.sourceforge.plantuml.sequencediagram.graphic
Class Segment

java.lang.Object
  extended by net.sourceforge.plantuml.sequencediagram.graphic.Segment

public class Segment
extends Object


Method Summary
 boolean contains(double y)
           
 boolean contains(Segment other)
           
 Collection<Segment> cutSegmentIfNeed(Collection<Segment> allDelays)
           
 boolean equals(Object obj)
           
 double getLength()
           
 double getPos1()
           
 double getPos2()
           
 int hashCode()
           
 Segment merge(Segment this2)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

contains

public final boolean contains(double y)

contains

public final boolean contains(Segment other)

toString

public String toString()
Overrides:
toString in class Object

getLength

public final double getLength()

getPos1

public final double getPos1()

getPos2

public final double getPos2()

merge

public Segment merge(Segment this2)

cutSegmentIfNeed

public Collection<Segment> cutSegmentIfNeed(Collection<Segment> allDelays)


Copyright © 2014. All Rights Reserved.