public SeekStatus seekCeil(BytesRef text) {termUpto = binarySearch(text, br, 0, info.terms.size()-1, info.terms, info.sortedTerms);if (termUpto < 0) { termUpto = -termUpto-1;if (termUpto >= info.terms.size()) {return SeekStatus.END;} else {info.terms.get(info.sortedTerms[termUpto], br);return SeekStatus.NOT_FOUND;}} else {return SeekStatus.FOUND;}}

public SeekStatus seekCeil ( BytesRef text ) { termUpto = binarySearch ( text , br , 0 , info . terms . size ( ) - 1 , info . terms , info . sortedTerms ) ; if ( termUpto < 0 ) { termUpto = - termUpto - 1 ; if ( termUpto >= info . terms . size ( ) ) { return SeekStatus . END ; } else { info . terms . get ( info . sortedTerms [ termUpto ] , br ) ; return SeekStatus . NOT_FOUND ; } } else { return SeekStatus . FOUND ; } }
public override SeekStatus SeekCeil(BytesRef text){termUpto = BinarySearch(text, br, 0, info.terms.Count - 1, info.terms, info.sortedTerms, BytesRef.UTF8SortedAsUnicodeComparer);if (termUpto < 0) {termUpto = -termUpto - 1;if (termUpto >= info.terms.Count){return SeekStatus.END;}else{info.terms.Get(info.sortedTerms[termUpto], br);return SeekStatus.NOT_FOUND;}}else{return SeekStatus.FOUND;}}
