mirror of https://github.com/apache/lucene.git
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:
parent
972e53c413
commit
f1e792a661
|
@ -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);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue