Class PatchList<T>

Type Parameters:
T - the type of item in the lists
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Patch<T>>, Collection<Patch<T>>, Deque<Patch<T>>, List<Patch<T>>, Queue<Patch<T>>

public class PatchList<T> extends LinkedList<Patch<T>>
A linked list of Patch objects, providing additional utility methods as well.
See Also:
  • Constructor Details

    • PatchList

      public PatchList()
  • Method Details

    • clone

      public PatchList<T> clone()
      Given an array of patches, return another array that is identical.
      Overrides:
      clone in class LinkedList<Patch<T>>
      Returns:
      Array of patch objects.
    • toString

      public String toString()
      Take a list of patches and return a textual representation.
      Overrides:
      toString in class AbstractCollection<Patch<T>>
      Returns:
      Text representation of patches.