00001 package gov.nasa.arc.ase.jpf.jvm; 00002 00003 public class ArrayOffset { 00004 public int[] data; 00005 int offset; 00006 00007 public ArrayOffset(int[] d) { 00008 data = d; 00009 offset = 0; 00010 } 00011 public int get() { 00012 return data[offset++]; 00013 } 00014 public int peek() { 00015 return data[offset]; 00016 } 00017 }