org.semanticweb.HermiT.blocking
Class ValidatedBlockingSignatureCache

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

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

See Also:
Serialized Form

Nested Class Summary
static class ValidatedBlockingSignatureCache.BlockingSignatureEntry
           
 
Field Summary
protected  ValidatedBlockingSignatureCache.BlockingSignatureEntry[] m_buckets
           
protected  DirectBlockingChecker m_directBlockingChecker
           
protected  int m_numberOfElements
           
protected  int m_threshold
           
 
Constructor Summary
ValidatedBlockingSignatureCache(DirectBlockingChecker directBlockingChecker)
           
 
Method Summary
 boolean addNode(Node node)
           
 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

m_directBlockingChecker

protected final DirectBlockingChecker m_directBlockingChecker

m_buckets

protected ValidatedBlockingSignatureCache.BlockingSignatureEntry[] m_buckets

m_numberOfElements

protected int m_numberOfElements

m_threshold

protected int m_threshold
Constructor Detail

ValidatedBlockingSignatureCache

public ValidatedBlockingSignatureCache(DirectBlockingChecker directBlockingChecker)
Method Detail

isEmpty

public boolean isEmpty()

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)