Class LyricsElement

java.lang.Object
com.betterdiff.lyrics.utils.output.LyricsElement
All Implemented Interfaces:
com.betterdiff.core.utils.output.OutputElement

public class LyricsElement
extends java.lang.Object
implements com.betterdiff.core.utils.output.OutputElement
  • Constructor Summary

    Constructors
    Constructor Description
    LyricsElement​(java.util.List<java.lang.Integer> ordinalNumbers, java.lang.String lineText, java.util.Map<java.lang.Integer,​com.betterdiff.core.protocol.MutationType> mutations)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getLineText()  
    java.util.Map<java.lang.Integer,​com.betterdiff.core.protocol.MutationType> getMutations()  
    java.util.List<java.lang.Integer> getOrdinalNumbers()  
    boolean isEmpty()  
    boolean isOriginalLine()  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LyricsElement

      public LyricsElement​(java.util.List<java.lang.Integer> ordinalNumbers, java.lang.String lineText, java.util.Map<java.lang.Integer,​com.betterdiff.core.protocol.MutationType> mutations)
  • Method Details

    • getOrdinalNumbers

      public java.util.List<java.lang.Integer> getOrdinalNumbers()
    • isOriginalLine

      public boolean isOriginalLine()
    • getLineText

      public java.lang.String getLineText()
    • getMutations

      public java.util.Map<java.lang.Integer,​com.betterdiff.core.protocol.MutationType> getMutations()
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface com.betterdiff.core.utils.output.OutputElement