org.openstreetmap.osmosis.core.store
Interface IndexElement<K>

Type Parameters:
K - The index key type.
All Superinterfaces:
Storeable
All Known Implementing Classes:
IntegerLongIndexElement, LongLongIndexElement

public interface IndexElement<K>
extends Storeable

Defines the methods to be implemented by data classes stored within an index.

Classes implementing this interface provide Storeable functionality with restrictions.

Author:
Brett Henderson

Method Summary
 K getKey()
          Returns the key associated with this element for the purposes of indexing.
 
Methods inherited from interface org.openstreetmap.osmosis.core.store.Storeable
store
 

Method Detail

getKey

K getKey()
Returns the key associated with this element for the purposes of indexing.

Returns:
The key of the index element.