Package-level declarations

Types

Link copied to clipboard
class Delete<T>(items: List<T>) : Difference<T>

Indicates that a region of the original list compared via compare has items removed.

Link copied to clipboard
sealed class Difference<T>(items: List<T>)

Base class for all differences types used in describing a change to a list via compare.

Link copied to clipboard
class Differences<T>(changes: List<Difference<T>>, movesComputed: Boolean = false) : Iterable<Difference<T>>

The list of differences between two lists compared using compare.

Link copied to clipboard
class Equal<T>(items: List<T>) : Difference<T>

Indicates that a region of the original list compared via compare is unchanged.

Link copied to clipboard
class Insert<T>(items: List<T>) : Difference<T>

Indicates that a region of the original list compared via compare has items inserted.