| Constructor and Description |
|---|
StackListXML() |
StackListXML(Collection<Stack> collection)
Creates an XML stack list from a collection of stack objects.
|
StackListXML(Stack stack)
Creates an XML stack list from a stack object.
|
StackListXML(Stack[] array)
Creates an XML stack list from an array of stack objects.
|
| Modifier and Type | Method and Description |
|---|---|
StackXML |
get(int index)
Returns the stack at the indicated index.
|
List<StackXML> |
getStacks()
Gets the list of XML stacks.
|
Iterator<StackXML> |
iterator()
Returns an iterator for the list of stacks.
|
void |
setStacks(List<StackXML> stacks)
Sets the list of XML stacks.
|
int |
size()
Returns the size of the stack list.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic StackListXML()
public StackListXML(Stack stack)
Stack - the stack objectpublic StackListXML(Collection<Stack> collection)
Collection - collection of stack objectspublic StackListXML(Stack[] array)
StackInteger[] - array of stack objectspublic void setStacks(List<StackXML> stacks)
List - the new list of stackspublic List<StackXML> getStacks()
public StackXML get(int index)
int - the index into the stack listpublic int size()
Copyright © 2017. All rights reserved.