mauda.plugin.fibheap
Class ArrayObj

java.lang.Object
  extended by mauda.plugin.fibheap.ArrayObj

public class ArrayObj
extends java.lang.Object

Author:
Markus Krebs Code

Constructor Summary
ArrayObj(int length)
          Constructs an array of the given length.
 
Method Summary
 jedas.DPair getPosition(int label)
          Returns the position of the center of the specified square relative to the parent Composite of this array.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayObj

public ArrayObj(int length)
Constructs an array of the given length.

Parameters:
length - the number of elements in the array
Method Detail

getPosition

public jedas.DPair getPosition(int label)
Returns the position of the center of the specified square relative to the parent Composite of this array.

Parameters:
label - the label of the array entry
Returns:
the center position of that square