org.semanticweb.HermiT.tableau
Class SetFactory<E>
java.lang.Object
org.semanticweb.HermiT.tableau.SetFactory<E>
- All Implemented Interfaces:
- java.io.Serializable
class SetFactory<E>
- extends java.lang.Object
- implements java.io.Serializable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
m_emptySet
protected final SetFactory.Entry<E> m_emptySet
m_unusedEntries
protected SetFactory.Entry[] m_unusedEntries
m_entries
protected SetFactory.Entry[] m_entries
m_size
protected int m_size
m_resizeThreshold
protected int m_resizeThreshold
SetFactory
public SetFactory()
sizeInMemory
public int sizeInMemory()
addReference
public void addReference(java.util.Set<E> set)
removeReference
public void removeReference(java.util.Set<E> set)
emptySet
public java.util.Set<E> emptySet()
getSet
public java.util.Set<E> getSet(java.util.List<E> elements)
resize
protected void resize()
removeEntry
protected void removeEntry(SetFactory.Entry<E> entry)
getEntry
protected SetFactory.Entry<E> getEntry(int size)
leaveEntry
protected void leaveEntry(SetFactory.Entry<E> entry)
getIndexFor
protected static int getIndexFor(int hashCode,
int tableLength)