public boolean gotoFirst(){
  countCurrent=0;
  if (!searchInCollapsed) {
    final List<Integer> list=classificationViewer.computeDisplayedIdsInSearchOrder();
    currentIterator=list.iterator();
    numberOfObjects=list.size();
  }
 else {
    final List<Integer> list=classificationViewer.computeAllIdsInSearchOrder();
    currentIterator=list.iterator();
    numberOfObjects=list.size();
  }
  currentId=(currentIterator.hasNext() ? currentIterator.next() : null);
  return isCurrentSet();
}

public boolean gotoFirst ( ) { countCurrent = 0 ; if ( ! searchInCollapsed ) { final List < Integer > list = classificationViewer . computeDisplayedIdsInSearchOrder ( ) ; currentIterator = list . iterator ( ) ; numberOfObjects = list . size ( ) ; } else { final List < Integer > list = classificationViewer . computeAllIdsInSearchOrder ( ) ; currentIterator = list . iterator ( ) ; numberOfObjects = list . size ( ) ; } currentId = ( currentIterator . hasNext ( ) ? currentIterator . next ( ) : null ) ; return isCurrentSet ( ) ; }
goto the first object
