public class Algorithms
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Algorithms.IsOrderedSubsetResult |
| Constructor and Description |
|---|
Algorithms() |
| Modifier and Type | Method and Description |
|---|---|
static <T> boolean |
isIn(T[] array,
T value) |
static <T> Algorithms.IsOrderedSubsetResult |
isOrderedSubset(java.util.List<T> subset,
java.util.List<T> superset)
Find ordered inclusion of subset into superset.
|
static <T> void |
prepareDiffAndNotify(java.util.List<T> oldList,
java.util.List<T> newList,
RecyclerView.Adapter adapter) |
public static <T> boolean isIn(T[] array,
T value)
public static <T> Algorithms.IsOrderedSubsetResult isOrderedSubset(java.util.List<T> subset, java.util.List<T> superset)
public static <T> void prepareDiffAndNotify(java.util.List<T> oldList,
java.util.List<T> newList,
RecyclerView.Adapter adapter)