dsto.dfc.databeans
Class StackDataObject

java.lang.Object
  extended by dsto.dfc.collections.BasicMonitoredCollection
      extended by dsto.dfc.collections.BasicMonitoredList
          extended by dsto.dfc.collections.DfcMonitoredList
              extended by dsto.dfc.databeans.ListDataObject
                  extended by dsto.dfc.databeans.StackDataObject
All Implemented Interfaces:
CollectionListener, DfcMonitoredListListener, MonitoredCollection, MonitoredList, IDataObject, IDataObjectChildListener, Copyable, Serializable, Cloneable, Iterable, Collection, EventListener, List

public class StackDataObject
extends ListDataObject

A convenience class that extends ListDataObject to provide a monitored stack.

Author:
Steven Johnson Created on 24/02/2005
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class dsto.dfc.collections.BasicMonitoredList
BasicMonitoredList.ListIteratorWrapper
 
Nested classes/interfaces inherited from class dsto.dfc.collections.BasicMonitoredCollection
BasicMonitoredCollection.CollectionIteratorWrapper
 
Field Summary
 
Fields inherited from class dsto.dfc.collections.BasicMonitoredCollection
collection, collectionListeners
 
Fields inherited from interface dsto.dfc.databeans.IDataObject
OVERRIDE, PERSISTENT, PERSISTENT_OVERRIDE, TRANSIENT, TRANSIENT_OVERRIDE
 
Constructor Summary
StackDataObject()
           
 
Method Summary
 Object peek()
           
 Object pop()
           
 void push(Object element)
           
 
Methods inherited from class dsto.dfc.databeans.ListDataObject
addPropertyListener, childPropertyChanged, clone, elementMoved, elementsAdded, elementsRemoved, firePropertyChangedEvent, firePropertyChangedEvent, getPropertyListeners, getTypeInfo, getValue, isTransient, nameToIndex, propertyIterator, registerValue, removePropertyListener, set, setValue, setValue, shallowClone, unregisterValue
 
Methods inherited from class dsto.dfc.collections.DfcMonitoredList
addDfcMonitoredListListener, fireElementMoved, move, removeDfcMonitoredListListener
 
Methods inherited from class dsto.dfc.collections.BasicMonitoredList
add, add, addAll, addAll, clear, get, getBackingList, indexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, subList
 
Methods inherited from class dsto.dfc.collections.BasicMonitoredCollection
addCollectionListener, contains, containsAll, emptyClone, fireElementsAdded, fireElementsRemoved, isEmpty, iterator, removeCollectionListener, retainAll, size, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface dsto.dfc.collections.MonitoredCollection
addCollectionListener, removeCollectionListener
 
Methods inherited from interface java.util.List
contains, containsAll, equals, hashCode, isEmpty, iterator, retainAll, size, toArray, toArray
 

Constructor Detail

StackDataObject

public StackDataObject()
Method Detail

peek

public Object peek()
            throws IllegalStateException
Throws:
IllegalStateException

pop

public Object pop()
           throws IllegalStateException
Throws:
IllegalStateException

push

public void push(Object element)


Copyright © 2008 Commonwealth of Australia