areItemsTheSame

open fun areItemsTheSame(item1: T2, item2: T2): Boolean(source)

Called by the SortedList to decide whether two objects represent the same Item or not.

For example, if your items have unique ids, this method should check their equality.