void remove(int numberOfParagraph, int startOfSentencePosition) {
    for(int i = 0; i < entries.size(); i++) {
      if(entries.get(i).numberOfParagraph == numberOfParagraph
        && entries.get(i).startOfSentencePosition == startOfSentencePosition) {
        entries.remove(i);
        return;
      }
    }
  }
void remove ( int numberOfParagraph , int startOfSentencePosition ) { for ( int i = 0 ; i < entries . size ( ) ; i ++ ) { if ( entries . get ( i ) . numberOfParagraph == numberOfParagraph && entries . get ( i ) . startOfSentencePosition == startOfSentencePosition ) { entries . remove ( i ) ; return ; } } }
Remove a cache entry for a sentence