mirror of
https://github.com/apache/lucene.git
synced 2025-02-07 02:28:49 +00:00
use {@code ...}
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378203 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
005fe165dc
commit
6722080cfc
@ -61,7 +61,7 @@ public class DisjunctionMaxQuery extends Query implements Iterable<Query> {
|
||||
|
||||
/**
|
||||
* Creates a new DisjunctionMaxQuery
|
||||
* @param disjuncts a Collection<Query> of all the disjuncts to add
|
||||
* @param disjuncts a {@code Collection<Query>} of all the disjuncts to add
|
||||
* @param tieBreakerMultiplier the weight to give to each matching non-maximum disjunct
|
||||
*/
|
||||
public DisjunctionMaxQuery(Collection<Query> disjuncts, float tieBreakerMultiplier) {
|
||||
@ -77,14 +77,14 @@ public class DisjunctionMaxQuery extends Query implements Iterable<Query> {
|
||||
}
|
||||
|
||||
/** Add a collection of disjuncts to this disjunction
|
||||
* via Iterable<Query>
|
||||
* via {@code Iterable<Query>}
|
||||
* @param disjuncts a collection of queries to add as disjuncts.
|
||||
*/
|
||||
public void add(Collection<Query> disjuncts) {
|
||||
this.disjuncts.addAll(disjuncts);
|
||||
}
|
||||
|
||||
/** @return An Iterator<Query> over the disjuncts */
|
||||
/** @return An {@code Iterator<Query>} over the disjuncts */
|
||||
public Iterator<Query> iterator() {
|
||||
return disjuncts.iterator();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user