public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Iterable<T> |
distinctUntilChanged(Iterable<T> iterable)
Filters an iterable returning distinct values until they are changed from the previous value.
|
public static <T> Iterable<T> distinctUntilChanged(Iterable<T> iterable)
T - Any object type implementing equals.iterable - The iterable to filter