Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

ArrayOffset.java

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 }

Generated at Thu Feb 7 06:39:32 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001