View Javadoc
1 /* 2 * ValueList.java 3 * 4 * Created on March 21, 2003, 3:05 PM 5 */ 6 7 package com.mlw.vlh; 8 9 import java.io.Serializable; 10 import java.util.Iterator; 11 import java.util.List; 12 import java.util.NoSuchElementException; 13 /*** Wrapper for a <CODE>List</CODE> and a <CODE>ValueListInfo</CODE> object 14 * 15 * @author Matthew Wilson 16 */ 17 public interface ValueList extends Serializable, Iterator 18 { 19 /*** Returns the embeded <CODE>List</CODE> 20 * @return The embeded <CODE>List</CODE> 21 */ 22 public abstract List getList(); 23 24 /*** Returns the embeded <CODE>ValueListInfo</CODE> 25 * @return The embeded <CODE>ValueListInfo</CODE> 26 */ 27 public abstract ValueListInfo getValueListInfo(); 28 29 /*** Returns if there more Objects in the Iterator 30 * @return true if there more Objects in the Iterator, other 31 * wise false 32 */ 33 public abstract boolean hasNext(); 34 /*** Gets the next Object in the Iterator. 35 * @throws NoSuchElementException If element does not exist. 36 * @return The next Object in the Iterator. 37 */ 38 public abstract Object next() throws NoSuchElementException; 39 }

This page was automatically generated by Maven