Class Segment
- java.lang.Object
-
- net.sourceforge.plantuml.sequencediagram.graphic.Segment
-
public class Segment extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Segment(double pos1, double pos2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(double y)
boolean
contains(Segment other)
java.util.Collection<Segment>
cutSegmentIfNeed(java.util.Collection<Segment> allDelays)
boolean
equals(java.lang.Object obj)
double
getLength()
double
getPos1()
double
getPos2()
int
hashCode()
Segment
merge(Segment this2)
java.lang.String
toString()
-
-
-
Method Detail
-
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
public final boolean contains(Segment other)
-
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()
-
-