java.lang.Object
com.betterdiff.core.protocol.command.Row
All Implemented Interfaces:
Command

public class Row
extends java.lang.Object
implements Command
Picking a row in currently aligned chunks to process further analysis. This is used to find differences in the text on more detailed level.
Author:
troomar
  • Constructor Summary

    Constructors
    Constructor Description
    Row​(int row)  
    Row​(Row row)  
  • Method Summary

    Modifier and Type Method Description
    void accept​(ProtocolVisitor protocolVisitor)
    Accepting a visitor to go through the protocol without having to care what command it actually is.
    Row clone()
    Method for copying commands from generic lists and data structures.
    int getRow()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

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

    • Row

      public Row​(int row)
    • Row

      public Row​(Row row)
  • Method Details

    • getRow

      public int getRow()
    • clone

      public Row clone()
      Description copied from interface: Command
      Method for copying commands from generic lists and data structures. Cloning shouldn't use standard Java cloning routines, it should always call its supposed cloning constructor or factory method.
      Specified by:
      clone in interface Command
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • accept

      public void accept​(ProtocolVisitor protocolVisitor)
      Description copied from interface: Command
      Accepting a visitor to go through the protocol without having to care what command it actually is.
      Specified by:
      accept in interface Command