public class SmartIterator<A> extends Object
| Constructor and Description |
|---|
SmartIterator(int limit,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
List<A> |
applyLimitAndOffset(Collection<A> unfilteredCollection)
Apply limit and offset to a collection of type
A |
Map<String,A> |
applyLimitAndOffset(Map<String,A> map)
Apply limit and offset to a map of value type
A |
public Map<String,A> applyLimitAndOffset(Map<String,A> map)
Amap - the mappublic List<A> applyLimitAndOffset(Collection<A> unfilteredCollection)
AunfilteredCollection - the collectionCopyright © 2009–2021 Opencast Project. All rights reserved.