org.semanticweb.elk.util.collections.entryset
Interface KeyEntryFactory<T>

Type Parameters:
T - the type of the keys of the entries and of all linked entries

public interface KeyEntryFactory<T>

An interface for creating key entries from the key values.

Author:
"Yevgeny Kazakov"

Method Summary
 KeyEntry<T,? extends T> createEntry(T key)
          Creates the key entry of the given type for the given key.
 

Method Detail

createEntry

KeyEntry<T,? extends T> createEntry(T key)
Creates the key entry of the given type for the given key. It is important that the method returns a new object. Reuse of existing entries can result in incorrect behavior of hash sets where these entries are stored.

Parameters:
key -
Returns:
the key entry of the given type for the given key


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