Class DiffBuilder.SDiff<T>

java.lang.Object
org.apache.commons.lang3.tuple.Pair<T,T>
org.apache.commons.lang3.builder.Diff<T>
org.apache.commons.lang3.builder.DiffBuilder.SDiff<T>
All Implemented Interfaces:
Serializable, Comparable<Pair<T,T>>, Map.Entry<T,T>
Enclosing class:
DiffBuilder<T>

private static final class DiffBuilder.SDiff<T> extends Diff<T>
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • leftSupplier

      private final transient Supplier<T> leftSupplier
    • rightSupplier

      private final transient Supplier<T> rightSupplier
  • Constructor Details

  • Method Details

    • getLeft

      public T getLeft()
      Description copied from class: Pair
      Gets the left element from this pair.

      When treated as a key-value pair, this is the key.

      Specified by:
      getLeft in class Pair<T,T>
      Returns:
      the left element, may be null
    • getRight

      public T getRight()
      Description copied from class: Pair
      Gets the right element from this pair.

      When treated as a key-value pair, this is the value.

      Specified by:
      getRight in class Pair<T,T>
      Returns:
      the right element, may be null