| 
 | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ItemListBuilder
Builder of the item list, used for storing items by SimpleItemSet and GridItemSet classes.
 Namely, the constructors of these classes call newItemList() method of this interface to
 create the built-in list java.util.List<Item>.
The simplest default implementation of this interface just creates
 new empty java.util.ArrayList<Item>.
 But if you want to store items by another method (for example, in a database or in AlgART arrays),
 you can do it via a special implementation of this interface, where newItemList() method
 creates the corresponding custom implementation of java.util.List interface,
 which provides the necessary functionality.
Important! The java.util.List object, created by newItemList() method, must support
 (implement), at least, the following optional list operations:
AlgART Laboratory 2010
| Modifier and Type | Field and Description | 
|---|---|
static ItemListBuilder | 
DEFAULT
Simplest default implementation of this interface, where newItemList() method just returns
 Item>() | 
| Modifier and Type | Method and Description | 
|---|---|
 java.util.List<Item> | 
newItemList()
Creates new list of items.  | 
| Field Detail | 
|---|
static final ItemListBuilder DEFAULT
newItemList() method just returns
 Item>()
| Method Detail | 
|---|
java.util.List<Item> newItemList()
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||