org.apache.cocoon.util
Class ResizableContainer

java.lang.Object
  extended byorg.apache.cocoon.util.ResizableContainer

public class ResizableContainer
extends Object

Add-only Container class.

Version:
$Id: ResizableContainer.html 1304280 2012-03-23 11:18:01Z ilgrosso $

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-2008 The Apache Software Foundation. All Rights Reserved.