public final class Diff<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Diff.Type |
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG |
static boolean |
DEBUG2 |
| Modifier and Type | Method and Description |
|---|---|
static <I> List<Diff<I>> |
diffList(List<I> oldl,
List<I> newl,
Comparator<I> comparator) |
static <I> List<Diff<I>> |
diffList(List<I> oldl,
List<I> newl,
Comparator<I> comparator,
boolean skipsame) |
int |
getEndIndex() |
List<T> |
getList() |
int |
getStartIndex() |
Diff.Type |
getType() |
static void |
main(String[] args) |
String |
toString() |
public Diff.Type getType()
public int getEndIndex()
public int getStartIndex()
public static <I> List<Diff<I>> diffList(@Nonnull List<I> oldl, @Nonnull List<I> newl, @Nullable Comparator<I> comparator)
public static <I> List<Diff<I>> diffList(@Nonnull List<I> oldl, @Nonnull List<I> newl, @Nullable Comparator<I> comparator, boolean skipsame)
Copyright © 2017 etc.to. All rights reserved.