uk.me.parabola.imgfmt.app.trergn
Class MapValues

java.lang.Object
  extended by uk.me.parabola.imgfmt.app.trergn.MapValues

public class MapValues
extends java.lang.Object

Class to calculate the values that occur at offset 9a in the TRE header. As I don't know the purpose of these the naming is a bit arbitrary here... This was worked out in the display project, so see the TreCalc file there for more history. This is a cleaned up version of what was written there.

Author:
Steve Ratcliffe
See Also:
TreCalc.java

Constructor Summary
MapValues(int mapId, int headerLength)
           
 
Method Summary
 void calculate()
           
 int value(int n)
          There are four values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapValues

public MapValues(int mapId,
                 int headerLength)
Method Detail

value

public int value(int n)
There are four values. Get value n.

Parameters:
n - Get value n, starting at 0 up to four.

calculate

public void calculate()