gshute.util
Interface ListGenerator

All Known Implementing Classes:
FilteredListGenerator, ConvertedListGenerator

public abstract interface ListGenerator

A ListGenerator provides a strategy for generating a list of objects based on a configurator object.

Implementations of this interface should implement the getList() method so that it returns a meaningful list for null arguments. The returned value should always be a non-null array, even if empty. Implementations should document the types of configurator objects that they work with, the type of objects in their generated lists, and their policy for generating lists.


Method Summary
 java.lang.Object[] getList(java.lang.Object o)
          lg.getList(o) returns an array of objects generated by lg using o as a configurator object.
 

Method Detail

getList

public java.lang.Object[] getList(java.lang.Object o)
lg.getList(o) returns an array of objects generated by lg using o as a configurator object.