LUCENE-2931: Improved javadocs for PriorityQueue#lessThan

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1072567 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Simon Willnauer 2011-02-20 11:59:12 +00:00
parent 972e53c413
commit f1e792a661
1 changed files with 3 additions and 1 deletions

View File

@ -32,7 +32,9 @@ public abstract class PriorityQueue<T> {
protected T[] heap;
/** Determines the ordering of objects in this priority queue. Subclasses
must define this one method. */
* must define this one method.
* @return <code>true</code> iff parameter <tt>a</tt> is less than parameter <tt>b</tt>.
*/
protected abstract boolean lessThan(T a, T b);
/**