View Javadoc

1   package net.sf.tourviewer.lib.ciclo;
2   
3   
4   
5   public class DDBlock extends AbstractBlock {
6   
7   	private int aaOffset;
8   
9   	public DDBlock(int[] data) {
10  		super(data);
11  		
12  		this.aaOffset = getHex(1);
13  	}
14  	
15  	@Override
16  	public String toString()
17  	{
18  		StringBuffer sb = new StringBuffer();
19  		sb.append(getDataString());
20  		sb.append(String.format(" [(DD) AAOffset=%d]", aaOffset));
21  		return sb.toString();
22  	}
23  
24  	
25  	public int getAAOffset()
26  	{
27  		return aaOffset;
28  	}
29  	
30  }