mobios.index.algorithms
Class PartitionResults
java.lang.Object
mobios.index.algorithms.PartitionResults
public class PartitionResults
- extends Object
- Author:
- Willard
PartitionResults
public PartitionResults(List<List<? extends IndexObject>> subDataList,
InternalNode iNode)
- Parameters:
subDataList
- iNode
-
size
public int size()
- Returns:
- the number of partitions
addPartition
public void addPartition(List<IndexObject> partition)
- Parameters:
partition
-
setNode
public void setNode(InternalNode iNode)
- Parameters:
iNode
-
getPartition
public List<? extends IndexObject> getPartition(int index)
throws IndexOutOfBoundsException
- Parameters:
index
-
- Returns:
- the partition at the given index (a partition is a
List
of IndexObject
s
- Throws:
IndexOutOfBoundsException
getInternalNode
public InternalNode getInternalNode()
- TODO javadoc
- Returns:
(C) 2002 - 2006 The MoBIoS Group