|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
org.displaytag.sample.TestList
Just a utility class for testing out the table and column tags. When this class is created, it loads itself with a number of ListObjects that are shown throughout the various example pages that exercise the table object. If created via the default constructor, this loads itself with 60 ListObjects.
| Field Summary |
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
TestList()
Creats a TestList that is filled with 60 ListObjects suitable for testing. |
|
TestList(int size,
boolean duplicates)
Creates a TestList that is filled with [size] ListObjects suitable for testing. |
|
| Method Summary | |
ListObject |
getItem(int index)
Returns a ListObject using get(index) from the Array. |
| Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
containsAll, remove, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList |
| Constructor Detail |
public TestList()
public TestList(int size,
boolean duplicates)
size - int size of the listduplicates - boolean put duplicates in the list| Method Detail |
public ListObject getItem(int index)
index - int index of the List object into the array
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||