org.semanticweb.elk.reasoner.indexing.entries
Class IndexedIndividualEntry<T,K extends IndexedIndividual>

java.lang.Object
  extended by org.semanticweb.elk.util.collections.entryset.StrongKeyEntry<T,K>
      extended by org.semanticweb.elk.reasoner.indexing.entries.IndexedObjectEntry<T,K>
          extended by org.semanticweb.elk.reasoner.indexing.entries.IndexedClassExpressionEntry<T,K>
              extended by org.semanticweb.elk.reasoner.indexing.entries.IndexedIndividualEntry<T,K>
Type Parameters:
T - The type of the elements in the set where this entry is used
K - the type of the wrapped indexed object used as the key of the entry
All Implemented Interfaces:
KeyEntry<T,K>

public class IndexedIndividualEntry<T,K extends IndexedIndividual>
extends IndexedClassExpressionEntry<T,K>

Implements an equality view for instances of IndexedIndividual

Author:
Frantisek Simancik

Field Summary
 
Fields inherited from class org.semanticweb.elk.util.collections.entryset.StrongKeyEntry
hash, key
 
Constructor Summary
IndexedIndividualEntry(K representative)
           
 
Method Summary
 int computeHashCode()
           
 boolean equals(Object other)
           
 
Methods inherited from class org.semanticweb.elk.util.collections.entryset.StrongKeyEntry
getKey, getNext, hashCode, setNext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexedIndividualEntry

public IndexedIndividualEntry(K representative)
Method Detail

computeHashCode

public int computeHashCode()
Specified by:
computeHashCode in class StrongKeyEntry<T,K extends IndexedIndividual>

equals

public boolean equals(Object other)
Specified by:
equals in class StrongKeyEntry<T,K extends IndexedIndividual>


Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.