core
/
dev.fritz2.utils
/
Myer
js
Myer
object
Myer
Content copied to clipboard
Implementation of Myer's diff algorithm on two
List
s creating a
Flow
of
Patch
es.
Functions
Functions
diff
Link copied to clipboard
js
fun <
T
>
diff
(oldList:
List
<
T
>, newList:
List
<
T
>):
List
<
Patch
<
T
>>
Content copied to clipboard
diffs to versions of a
List
with an
IdProvider
.
fun <
T
,
I
>
diff
(oldList:
List
<
T
>, newList:
List
<
T
>, idProvider:
IdProvider
<
T
,
I
>):
List
<
Patch
<
T
>>
Content copied to clipboard
diffs to versions of a
List
by providing an
IdProvider
.
equals
Link copied to clipboard
js
open operator fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
hashCode
Link copied to clipboard
js
open fun
hashCode
():
Int
Content copied to clipboard
toString
Link copied to clipboard
js
open fun
toString
():
String
Content copied to clipboard