@Beta public class IterableWithMarkers extends Object
IterableWithMarker
s.Modifier and Type | Field and Description |
---|---|
static IterableWithMarker |
EMPTY |
Constructor and Description |
---|
IterableWithMarkers() |
Modifier and Type | Method and Description |
---|---|
static <T> IterableWithMarker<T> |
from(Iterable<T> elements)
Returns a paginated iterable containing the given elements and null marker.
|
static <T> IterableWithMarker<T> |
from(Iterable<T> elements,
Object marker)
Returns a paginated iterable containing the given elements and marker.
|
public static final IterableWithMarker EMPTY
public static <T> IterableWithMarker<T> from(Iterable<T> elements)
NullPointerException
- if elements
are nullpublic static <T> IterableWithMarker<T> from(Iterable<T> elements, @Nullable Object marker)
NullPointerException
- if elements
are nullCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.