com.teamkonzept.dom4jb.schema
Class ContentIteratorCache
java.lang.Object
|
+--com.teamkonzept.dom4jb.schema.ContentIteratorCache
- public class ContentIteratorCache
- extends Object
|
Method Summary |
void |
add(ContentIterator iter)
Appends the specified element to the end of this list. |
void |
ensureCapacity(int minCapacity)
Increases the capacity of this NodeList instance, if
necessary, to ensure that it can hold at least the number of elements
specified by the minimum capacity argument. |
ContentIterator |
get()
|
void |
trimToSize()
Trims the capacity of this NodeList instance to be the
list's current size. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
initialCapacity
protected static final int initialCapacity
- See Also:
- Constant Field Values
ContentIteratorCache
public ContentIteratorCache()
ContentIteratorCache
public ContentIteratorCache(int initialCapacity)
trimToSize
public void trimToSize()
- Trims the capacity of this NodeList instance to be the
list's current size. An application can use this operation to minimize
the storage of an NodeList instance.
ensureCapacity
public void ensureCapacity(int minCapacity)
- Increases the capacity of this NodeList instance, if
necessary, to ensure that it can hold at least the number of elements
specified by the minimum capacity argument.
- Parameters:
minCapacity - the desired minimum capacity.
get
public ContentIterator get()
add
public void add(ContentIterator iter)
- Appends the specified element to the end of this list.
Copyright © 2001-2003 Team-Konzept GmbH & CO KG. All Rights Reserved.