Uses of Class
com.tensegrity.generic.util.ArrayListShort.ListIterator

Packages that use ArrayListShort.ListIterator
com.tensegrity.generic.util Core classes for tensegrity-software packages.  
 

Uses of ArrayListShort.ListIterator in com.tensegrity.generic.util
 

Methods in com.tensegrity.generic.util that return ArrayListShort.ListIterator
 ArrayListShort.ListIterator ArrayListShort.listIterator()
          Returns a simple forward iterator to the caller which can be used to retrieve the contents of the arraylist like this: ArrayListShort.ListIterator it = alist.listIterator(); while (it.hasNext()) { short l = li.next (); System.out.println (" : " + l); } Additionally the list iterator is capable of backwards iteration using the methods @see previous and @see hasPrevious
 ArrayListShort.ListIterator ArrayListShort.listIterator(int index)
          Returns a simple forward iterator with user-specified starting position which can be used to retrieve the contents of the arraylist in reverse order like this: ArrayListShort.ListIterator it = alist.listIterator(alist.size()); while (it.hasPrevious()) { short l = li.previous (); System.out.println (" : " + l); } Additionally the list iterator is capable of backwards iteration using the methods @see previous and @see hasPrevious
 



Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.