public boolean statement(){
  Literal object=objectAsLiteral();
  String language=object.getLanguage();
  int index=singleLabelModeLanguages.indexOf(language);
  if (index > bestIndex) {
    bestStatement=statement;
    bestIndex=index;
  }
  return false;
}

public boolean statement ( ) { Literal object = objectAsLiteral ( ) ; String language = object . getLanguage ( ) ; int index = singleLabelModeLanguages . indexOf ( language ) ; if ( index > bestIndex ) { bestStatement = statement ; bestIndex = index ; } return false ; }
apply the current statement to the effort to collect the best label . single label mode is implemented by removing all labels and adding the best back at the end of the munging process .
