${header}

meteor.dht.can
Class Zone

java.lang.Object
  extended bymeteor.dht.can.Zone
All Implemented Interfaces:
java.io.Serializable

public class Zone
extends java.lang.Object
implements java.io.Serializable

Boundaries of a Zone

See Also:
Serialized Form

Constructor Summary
Zone()
          !!! To make Serialization work
Zone(int dimension, java.math.BigInteger t)
           
 
Method Summary
 void all()
          Set the range of identifier space
 java.math.BigInteger[][] getBoundaries()
          Returns the zone ranges
 int getDimension()
           
 java.math.BigInteger getTopologySize()
           
 java.lang.String printBoundaries()
          Prints out the boundaries of this zone
 void setBoundaries(java.math.BigInteger[][] r)
          Sets the zone ranges
 void setDimension(int d)
           
 void setTopologySize(java.math.BigInteger top)
           
 java.math.BigInteger[][] split(int split_direction)
          Split this Zone along either the vertical or horizontal axis
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Zone

public Zone()
!!! To make Serialization work


Zone

public Zone(int dimension,
            java.math.BigInteger t)
Method Detail

setDimension

public void setDimension(int d)

getDimension

public int getDimension()

setTopologySize

public void setTopologySize(java.math.BigInteger top)

getTopologySize

public java.math.BigInteger getTopologySize()

all

public void all()
Set the range of identifier space


setBoundaries

public void setBoundaries(java.math.BigInteger[][] r)
Sets the zone ranges


getBoundaries

public java.math.BigInteger[][] getBoundaries()
Returns the zone ranges


split

public java.math.BigInteger[][] split(int split_direction)
Split this Zone along either the vertical or horizontal axis


printBoundaries

public java.lang.String printBoundaries()
Prints out the boundaries of this zone


${header}