org.exist.util.hashtable
Class NamePool
java.lang.Object
org.exist.util.hashtable.AbstractHashtable
org.exist.util.hashtable.NamePool
- public class NamePool
- extends AbstractHashtable
- Author:
- Wolfgang Meier (wolfgang@exist-db.org)
|
Constructor Summary |
NamePool()
|
NamePool(int iSize)
Create a new symbol table using the specified size. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NamePool
public NamePool()
NamePool
public NamePool(int iSize)
- Create a new symbol table using the specified size.
The actual size will be next prime number following
iSize * 1.5.
- Parameters:
iSize -
size
public int size()
- Overrides:
size in class AbstractHashtable
get
public java.lang.Object get(int pos)
add
public int add(QName value)
insert
protected int insert(QName value)
throws AbstractHashtable.HashtableOverflowException
- Throws:
AbstractHashtable.HashtableOverflowException
remove
public void remove(QName value)
rehash
protected int rehash(int iVal)
hash
protected static final int hash(java.lang.Object o)
iterator
public java.util.Iterator iterator()
- Specified by:
iterator in class AbstractHashtable
valueIterator
public java.util.Iterator valueIterator()
- Specified by:
valueIterator in class AbstractHashtable
<oXygen/>
XML Editor
provides support for editing and debugging XQuery
expressions against the eXist XML Database.