Class Segment
java.lang.Object
net.sourceforge.plantuml.sequencediagram.graphic.Segment
public class Segment
extends java.lang.Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
contains
(double y) final boolean
java.util.Collection<Segment>
cutSegmentIfNeed
(java.util.Collection<Segment> allDelays) boolean
equals
(java.lang.Object obj) final double
final double
getPos1()
final double
getPos2()
int
hashCode()
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Segment
public Segment(double pos1, double pos2)
-
-
Method Details
-
equals
public boolean equals(java.lang.Object obj) - Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
contains
public final boolean contains(double y) -
contains
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
getLength
public final double getLength() -
getPos1
public final double getPos1() -
getPos2
public final double getPos2() -
merge
-
cutSegmentIfNeed
-