com.teamkonzept.dom4jb.saxon
Class AxisEnumerationCache

java.lang.Object
  |
  +--com.teamkonzept.dom4jb.saxon.AxisEnumerationCache

public class AxisEnumerationCache
extends Object


Field Summary
protected static int initialCapacity
           
 
Constructor Summary
AxisEnumerationCache()
           
AxisEnumerationCache(int initialCapacity)
           
 
Method Summary
 void add(RecyclableAxisEnumeration 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.
 RecyclableAxisEnumeration 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
 

Field Detail

initialCapacity

protected static final int initialCapacity
See Also:
Constant Field Values
Constructor Detail

AxisEnumerationCache

public AxisEnumerationCache()

AxisEnumerationCache

public AxisEnumerationCache(int initialCapacity)
Method Detail

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 RecyclableAxisEnumeration get()

add

public void add(RecyclableAxisEnumeration iter)
Appends the specified element to the end of this list.



Copyright © 2001-2003 Team-Konzept GmbH & CO KG. All Rights Reserved.