|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ElementProvider<E>
Field Summary | |
---|---|
static int |
ALL
Do not limit to a maximum number of elements. |
Method Summary | |
---|---|
List<E> |
getElements(E first,
E last,
int max,
Filter<E> filter)
Get a list of elements in the given range including a defined maximum number of elements that pass the provided filter. |
Field Detail |
---|
static final int ALL
Method Detail |
---|
List<E> getElements(E first, E last, int max, Filter<E> filter)
first
- The first element to include, if null
, the first available element.last
- The last element to include, if null
, the last available element.max
- The maximum number of matching elements, if ElementProvider.ALL
, all available elements.filter
- The filter to be passed, if null
, any element will pass.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |