rescuecore.tools.mapgenerator
Class PairNode

java.lang.Object
  extended byrescuecore.tools.mapgenerator.PairNode

public class PairNode
extends java.lang.Object


Constructor Summary
(package private) PairNode(int value, int priority)
          Construct the PairNode.
 
Method Summary
 PairNode getLeftChild()
           
 PairNode getNextSibling()
           
 PairNode getPrev()
           
 int getPriority()
           
 int getValue()
           
 void setLeftChild(PairNode leftChild)
           
 void setNextSibling(PairNode nextSibling)
           
 void setPrev(PairNode prev)
           
 void setPriority(int priority)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PairNode

PairNode(int value,
         int priority)
Construct the PairNode.

Parameters:
value - the value stored in the node.
Method Detail

getValue

public int getValue()

getPriority

public int getPriority()

setPriority

public void setPriority(int priority)

getPrev

public PairNode getPrev()

getNextSibling

public PairNode getNextSibling()

getLeftChild

public PairNode getLeftChild()

setPrev

public void setPrev(PairNode prev)

setNextSibling

public void setNextSibling(PairNode nextSibling)

setLeftChild

public void setLeftChild(PairNode leftChild)