cgl.imr.data
Class NodePartitionPair

java.lang.Object
  extended by cgl.imr.data.NodePartitionPair

public class NodePartitionPair
extends Object

A wrapper class to hold a node and a data partition.


Constructor Summary
NodePartitionPair(int node, DataPartition partition)
           
 
Method Summary
 int getNode()
           
 DataPartition getPartition()
           
 void setNode(int node)
           
 void setPartition(DataPartition partition)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodePartitionPair

public NodePartitionPair(int node,
                         DataPartition partition)
Method Detail

getNode

public int getNode()

getPartition

public DataPartition getPartition()

setNode

public void setNode(int node)

setPartition

public void setPartition(DataPartition partition)


For comments and suggestions please send e-mail to