Mobios v0.91

mobios.index.algorithms
Class PartitionResults

java.lang.Object
  extended by mobios.index.algorithms.PartitionResults

public class PartitionResults
extends Object

Author:
Willard

Constructor Summary
PartitionResults(List<List<? extends IndexObject>> subDataList, InternalNode iNode)
           
 
Method Summary
 void addPartition(List<IndexObject> partition)
           
 InternalNode getInternalNode()
          TODO javadoc
 List<? extends IndexObject> getPartition(int index)
           
 void setNode(InternalNode iNode)
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartitionResults

public PartitionResults(List<List<? extends IndexObject>> subDataList,
                        InternalNode iNode)
Parameters:
subDataList -
iNode -
Method Detail

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 IndexObjects
Throws:
IndexOutOfBoundsException

getInternalNode

public InternalNode getInternalNode()
TODO javadoc

Returns:

Mobios v0.91

(C) 2002 - 2006 The MoBIoS Group