Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.index.tree
Interface Entry

All Superinterfaces:
Externalizable, Serializable
All Known Subinterfaces:
DeLiCluEntry, MetricalEntry, MkAppEntry<D,N>, MkCoPEntry<D,N>, MkMaxEntry<D>, MkTabEntry<D>, MTreeEntry<D>, RdKNNEntry<D,N>, SpatialEntry
All Known Implementing Classes:
AbstractEntry, DeLiCluDirectoryEntry, DeLiCluLeafEntry, MkAppDirectoryEntry, MkAppLeafEntry, MkCoPDirectoryEntry, MkCoPLeafEntry, MkMaxDirectoryEntry, MkMaxLeafEntry, MkTabDirectoryEntry, MkTabLeafEntry, MTreeDirectoryEntry, MTreeLeafEntry, RdKNNDirectoryEntry, RdKNNLeafEntry, SpatialDirectoryEntry, SpatialLeafEntry

public interface Entry
extends Externalizable

Defines the requirements for an entry in an index structure. An entry can represent a node or a data object.

Author:
Elke Achtert

Method Summary
 Integer getID()
          Returns the id of the node or data object that is represented by this entry.
 boolean isLeafEntry()
          Returns true if this entry is an entry in a leaf node (i.e. this entry represents a data object), false otherwise.
 void setID(Integer id)
          Sets the id of the node or data object that is represented by this entry.
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Method Detail

getID

Integer getID()
Returns the id of the node or data object that is represented by this entry.

Returns:
the id of the node or data object that is represented by this entry

setID

void setID(Integer id)
Sets the id of the node or data object that is represented by this entry.

Parameters:
id - the id to be set

isLeafEntry

boolean isLeafEntry()
Returns true if this entry is an entry in a leaf node (i.e. this entry represents a data object), false otherwise.

Returns:
true if this entry is an entry in a leaf node, false otherwise

Release 0.3 (2010-03-31_1612)