org.semanticweb.elk.reasoner.indexing.entries
Class IndexedDataHasValueEntry<T,K extends IndexedDataHasValue>

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.IndexedDataHasValueEntry<T,K>
Type Parameters:
T - The common 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 IndexedDataHasValueEntry<T,K extends IndexedDataHasValue>
extends IndexedClassExpressionEntry<T,K>

Implements an equality view for instances of IndexedDataHasValue

Author:
"Yevgeny Kazakov"

Field Summary
 
Fields inherited from class org.semanticweb.elk.util.collections.entryset.StrongKeyEntry
hash, key
 
Constructor Summary
IndexedDataHasValueEntry(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

IndexedDataHasValueEntry

public IndexedDataHasValueEntry(K representative)
Method Detail

computeHashCode

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

equals

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


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