org.semanticweb.HermiT.blocking
Class BlockingSignatureCache

java.lang.Object
  extended by org.semanticweb.HermiT.blocking.BlockingSignatureCache
All Implemented Interfaces:
java.io.Serializable

public class BlockingSignatureCache
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  BlockingSignature[] m_buckets
           
protected  DirectBlockingChecker m_directBlockingChecker
           
protected  int m_numberOfElements
           
protected  int m_threshold
           
private static long serialVersionUID
           
 
Constructor Summary
BlockingSignatureCache(DirectBlockingChecker directBlockingChecker)
           
 
Method Summary
 boolean addNode(Node node)
           
 void clear()
           
 boolean containsSignature(Node node)
           
protected static int getIndexFor(int hashCode, int tableLength)
           
 boolean isEmpty()
           
protected  void resize(int newCapacity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

m_directBlockingChecker

protected final DirectBlockingChecker m_directBlockingChecker

m_buckets

protected BlockingSignature[] m_buckets

m_numberOfElements

protected int m_numberOfElements

m_threshold

protected int m_threshold
Constructor Detail

BlockingSignatureCache

public BlockingSignatureCache(DirectBlockingChecker directBlockingChecker)
Method Detail

isEmpty

public boolean isEmpty()

clear

public void clear()

addNode

public boolean addNode(Node node)

resize

protected void resize(int newCapacity)

containsSignature

public boolean containsSignature(Node node)

getIndexFor

protected static int getIndexFor(int hashCode,
                                 int tableLength)