net.sf.morph.wrap
Interface GrowableContainer

All Superinterfaces:
Container, Wrapper
All Known Subinterfaces:
DecoratedGrowableContainer

public interface GrowableContainer
extends Container

A wrapper for 'container-like' structures that do not have a fixed size.

Since:
Jan 16, 2005
Author:
Matt Sgarlata

Method Summary
 boolean add(java.lang.Object value)
          Adds a new value to the end of this container.
 
Methods inherited from interface net.sf.morph.wrap.Container
getContainedType, getIterator
 
Methods inherited from interface net.sf.morph.wrap.Wrapper
getWrappedObject
 

Method Detail

add

boolean add(java.lang.Object value)
            throws WrapperException
Adds a new value to the end of this container.

Parameters:
value - the value to be added
Returns:
true if the container changed as a result of the call or
false, otherwise
Throws:
WrapperException - if an error occurrs


Copyright © 2004-2008.