Abstract class that can be used to implement custom binary merges with e.g. special collision behavior or an ordering that is not defined via an Order[T] typeclass
- Companion:
- object
Value members
Abstract methods
Called when elements a(ai) and b(bi) are equal according to compare
Called when elements a(ai) and b(bi) are equal according to compare
Compare element ai of the first sequence with element bi of the second sequence
Compare element ai of the first sequence with element bi of the second sequence
- Value parameters:
- ai
an index into the first sequence
- bi
an index into the second sequence
- Returns:
-1 if a(ai) < b(bi), 0 if a(ai) == b(bi), 1 if a(ai) > b(bi)