Class Diff.Change

  • Enclosing class:
    Diff

    public static class Diff.Change
    extends java.lang.Object
    The result of the diff.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int deleted
      # lines of file 0 changed here.
      int inserted
      # lines of file 1 changed here.
      int line0
      Line number of 1st deleted line.
      int line1
      Line number of 1st inserted line.
      Diff.Change nextChange
      Previous or next edit command.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • nextChange

        public Diff.Change nextChange
        Previous or next edit command.
      • inserted

        public final int inserted
        # lines of file 1 changed here.
      • deleted

        public final int deleted
        # lines of file 0 changed here.
      • line0

        public final int line0
        Line number of 1st deleted line.
      • line1

        public final int line1
        Line number of 1st inserted line.