title: java 1.7 - how to read same data on different position using same code/method
body: <p>I have an while operator that reading data, </p>
  
  <pre><code>int typeArr =0 ;
  int newObj = 0;
  int  name = 0;
  while((Name =readInt()) != 0x00) {
      int info = in.readUnsignedByte();
      int Type = in.readUnsignedByte();
      if(PropertySizeType == 1) {
          typeArr = in.readUnsignedByte();
          for (int k = 0; k &lt; typeArr; k++) {
              newObj = in.readUnsignedByte();
          }
      }
   }
  </code></pre>
  
  <p>Problem is that after i readed newObj value, i need to move to that position - like that</p>
  
  <pre><code>in.seek(newObj);
  </code></pre>
  
  <p>after that i need to repeat the same process as i did in the above(while ...)
  How can i do that ?</p>