Package edu.jas.poly
Class Overlap
- java.lang.Object
-
- edu.jas.poly.Overlap
-
- All Implemented Interfaces:
java.io.Serializable
public class Overlap extends java.lang.Object implements java.io.Serializable
Container for overlap words. A container of four words l1, r1, l2, r2.- Author:
- Heinz Kredel
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isOverlap(Word u, Word v)
Is word overlap.java.lang.String
toString()
Get the string representation.
-
-
-
Method Detail
-
isOverlap
public boolean isOverlap(Word u, Word v)
Is word overlap.- Parameters:
u
- wordv
- word- Returns:
- true if l1 * u * r1 = l2 * v * r2, else false.
-
toString
public java.lang.String toString()
Get the string representation.- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
-