public int getCurrentIdentifier() {
      // TODO stop casting documents to ints
      return (int) (offset + current);
    }
public int getCurrentIdentifier() {
     
      return (int) (offset + current);
    }
public int getcurrentidentifier() { return (int) (offset + current); }