org.wicketstuff.datatable_autocomplete.provider.utils
Class DataProviderUtils
java.lang.Object
org.wicketstuff.datatable_autocomplete.provider.utils.DataProviderUtils
public final class DataProviderUtils
- extends Object
- Author:
- mocleiri
|
Method Summary |
static int |
getLastIndex(int size,
int first,
int count)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getLastIndex
public static int getLastIndex(int size,
int first,
int count)
- Parameters:
first - count -
- Returns:
- the last index to get, designed for use in sublist() so its actually the ith index.
so we get elements from first to i-1
Copyright © 2009-2013. All Rights Reserved.