|
Restlet Framework 2.2.2 Android |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.engine.util.ListUtils
public class ListUtils
Emulate List functions missing from GWT port of List
Constructor Summary | |
---|---|
ListUtils()
|
Method Summary | ||
---|---|---|
static
|
copySubList(java.util.List<T> list,
int fromIndex,
int toIndex)
Unlike List.subList(), which returns a live view of a set of List elements, this method returns a new copy of the list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListUtils()
Method Detail |
---|
public static <T> java.util.List<T> copySubList(java.util.List<T> list, int fromIndex, int toIndex)
list
- The source ListfromIndex
- Starting index in the source ListtoIndex
- Ending index in the source List
java.lang.IndexOutOfBoundsException
- Call exceeds the bounds of the source List
java.lang.IllegalArgumentException
- fromIndex and toIndex are not in sequence
|
Restlet Framework 2.2.2 Android |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |