org.apache.cocoon.util
Class ResizableContainer

java.lang.Object
  extended by org.apache.cocoon.util.ResizableContainer

public class ResizableContainer
extends Object

Add-only Container class.

Version:
CVS $Id: ResizableContainer.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Stefano Mazzocchi

Constructor Summary
ResizableContainer(int initialCapacity)
           
 
Method Summary
 void add(Object o)
           
 Object get(int index)
           
 void set(int index, Object o)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResizableContainer

public ResizableContainer(int initialCapacity)
Method Detail

add

public void add(Object o)

set

public void set(int index,
                Object o)

get

public Object get(int index)

size

public int size()


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.