com.mlw.vlh
Interface ValueList

All Superinterfaces:
java.util.Iterator, java.io.Serializable
All Known Implementing Classes:
DefaultValueList

public interface ValueList
extends java.io.Serializable, java.util.Iterator

Wrapper for a List and a ValueListInfo object

Author:
Matthew Wilson

Method Summary
 java.util.List getList()
          Returns the embeded List
 ValueListInfo getValueListInfo()
          Returns the embeded ValueListInfo
 boolean hasNext()
          Returns if there more Objects in the Iterator
 java.lang.Object next()
          Gets the next Object in the Iterator.
 
Methods inherited from interface java.util.Iterator
remove
 

Method Detail

getList

public java.util.List getList()
Returns the embeded List

Returns:
The embeded List

getValueListInfo

public ValueListInfo getValueListInfo()
Returns the embeded ValueListInfo

Returns:
The embeded ValueListInfo

hasNext

public boolean hasNext()
Returns if there more Objects in the Iterator

Specified by:
hasNext in interface java.util.Iterator
Returns:
true if there more Objects in the Iterator, other wise false

next

public java.lang.Object next()
                      throws java.util.NoSuchElementException
Gets the next Object in the Iterator.

Specified by:
next in interface java.util.Iterator
Returns:
The next Object in the Iterator.
Throws:
java.util.NoSuchElementException - If element does not exist.


Copyright © 2003 mlavilson. All Rights Reserved.