Class ListDiff.Changed<T>

java.lang.Object
com.github.retrooper.packetevents.util.mappings.ListDiff<T>
com.github.retrooper.packetevents.util.mappings.ListDiff.Changed<T>
All Implemented Interfaces:
Diff<List<T>>
Enclosing class:
ListDiff<T>

public static class ListDiff.Changed<T> extends ListDiff<T>
  • Constructor Details

    • Changed

      public Changed(int index, int oldSize, List<T> newValue)
  • Method Details

    • getOldSize

      public int getOldSize()
    • getNewValue

      public List<T> getNewValue()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • applyTo

      public void applyTo(List<T> list)
      Specified by:
      applyTo in interface Diff<T>
      Specified by:
      applyTo in class ListDiff<T>