Package edu.jas.poly

Class OverlapList

  • All Implemented Interfaces:
    java.io.Serializable

    public class OverlapList
    extends java.lang.Object
    implements java.io.Serializable
    Container for lists of overlap words. List of Overlaps.
    Author:
    Heinz Kredel
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.List<Overlap> ols  
    • Constructor Summary

      Constructors 
      Constructor Description
      OverlapList()
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(Overlap ol)
      Add to list.
      boolean isOverlap​(Word u, Word v)
      Is word overlap list.
      java.lang.String toString()
      Get the string representation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

    • Constructor Detail

    • Method Detail

      • add

        public void add​(Overlap ol)
        Add to list.
      • toString

        public java.lang.String toString()
        Get the string representation.
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()
      • isOverlap

        public boolean isOverlap​(Word u,
                                 Word v)
        Is word overlap list.
        Parameters:
        u - word
        v - word
        Returns:
        true if l1 * u * r1 = l2 * v * r2 for all overlaps, else false.