| java.util.ArrayList org.apache.torque.util.UniqueList
UniqueList | public class UniqueList extends ArrayList (Code) | | List with unique entries. UniqueList does not allow null nor duplicates.
author: Martin Poeschl version: $Id: UniqueList.java 473821 2006-11-11 22:37:25Z tv $ |
Method Summary | |
public boolean | add(Object o) Adds an Object to the list. |
UniqueList | public UniqueList()(Code) | | Constructs an empty UniqueList.
|
UniqueList | public UniqueList(UniqueList list)(Code) | | Copy-constructor. Creates a shallow copy of an UniqueList.
Parameters: list - the uniqueList to copy |
add | public boolean add(Object o)(Code) | | Adds an Object to the list.
Parameters: o - the Object to add true if the Object is added |
|
|