|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.mlw.vlh.DefaultListBackedValueList
Wrapper for a List
and a ValueListInfo
object.
This is the Default implementation of ValueList.
Constructor Summary | |
DefaultListBackedValueList()
Creates a new instance of DefaultValueList |
|
DefaultListBackedValueList(List list)
Default constructor. |
|
DefaultListBackedValueList(List list,
ValueListInfo info)
Default constructor. |
Method Summary | |
List |
getList()
Returns the embeded List |
ValueListInfo |
getValueListInfo()
Returns the embeded ValueListInfo |
boolean |
hasNext()
Returns if there more Objects in the Iterator |
Object |
next()
Gets the next Object in the Iterator. |
void |
remove()
|
void |
reset()
Resets the Iterator in this ValueList. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultListBackedValueList()
public DefaultListBackedValueList(List list)
list
- The List to be sorted.public DefaultListBackedValueList(List list, ValueListInfo info)
list
- The List to be sorted.info
- The sorting/paging/filtering info.Method Detail |
public List getList()
ValueList
List
getList
in interface ValueList
List
com.mlw.vlh.ValueList.getList()
public ValueListInfo getValueListInfo()
ValueList
ValueListInfo
getValueListInfo
in interface ValueList
ValueListInfo
com.mlw.vlh.ValueList.getListInfo()
public boolean hasNext()
ValueList
hasNext
in interface ValueList
com.mlw.vlh.ValueList.hasNext()
public Object next() throws NoSuchElementException
ValueList
next
in interface ValueList
NoSuchElementException
- If element does not exist.Iterator.next()
public void remove()
remove
in interface Iterator
Iterator.remove()
public void reset()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |