Method subList(int fromIndex, int toIndex)
Return type:
java.util.List
<List<E>>
Member of:
java.util.AbstractList
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
return cities.subList(0, count);
2
return new ArrayList(performers.keySet()).subList(0, (maxNumber - 1));
3
Iterator iter = testTree.list(stack.subList(0, i)).iterator();
4
return fStore.subList(arg0,arg1);
5
java.util.List affected = list.subList(start, end);
6
return list.subList(i, j);
7
List subList = objects.subList(start,end);
8
return copy.subList(fromIndex, toIndex);
9
return list.subList(fromIndex, toIndex);
10
return list.subList(fromIndex, toIndex);
11
conversions.subList(fromIndex + 1,toIndex + 1).clear();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.