public boolean hasForward(){
  if (index + 1 < history.size() && index >= 0) {
    return true;
  }
 else {
    return false;
  }
}

public boolean hasForward ( ) { if ( index + 1 < history . size ( ) && index >= 0 ) { return true ; } else { return false ; } }
returns true if there are visited uris in history " after " the pointer the the current uri . this would be the case if multiple uris were visited and the getback ( ) had been called at least once .
