gov.lbl.dsd.p2pio
Class ItemSet
java.lang.Object
gov.lbl.dsd.p2pio.MsgElement
gov.lbl.dsd.p2pio.ItemSet
- public class ItemSet
- extends MsgElement
A Send or FinalSend message contains a set of zero or more items; an item can, in fact, be any arbitrary XML element
with any arbitrary XML attributes and child elements.
- Version:
- $Revision: 1.4 $, $Date: 2004/02/06 23:05:35 $
ItemSet
public ItemSet()
ItemSet
public ItemSet(Element elem)
toList
public List toList()
get
public Element get(int index)
size
public int size()
add
public void add(Element elem)
addAll
public void addAll(ItemSet c)
addAll
public void addAll(Elements elems)
addAll
public void addAll(Collection c)
- input must be a Collection.
iterator
public Iterator iterator()
moveTo
public void moveTo(ItemSet dest)
moveTo
public void moveTo(ItemSet dest,
int max)
newItem
public static Element newItem()
generateItemSet
public static ItemSet generateItemSet(int size)
Jump to the Firefish Homepage