Formatting.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683632 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2015-06-04 20:38:03 +00:00
parent 73d69dfe86
commit d1270edd92
1 changed files with 9 additions and 16 deletions

View File

@ -77,8 +77,7 @@ public class CollatingIterator<E> implements Iterator<E> {
* manually added using the {@link #addIterator(Iterator)} method. * manually added using the {@link #addIterator(Iterator)} method.
* *
* @param comp the comparator to use to sort; must not be null, * @param comp the comparator to use to sort; must not be null,
* unless you'll be invoking {@link #setComparator(Comparator)} * unless you'll be invoking {@link #setComparator(Comparator)} later on.
* later on.
*/ */
public CollatingIterator(final Comparator<? super E> comp) { public CollatingIterator(final Comparator<? super E> comp) {
this(comp, 2); this(comp, 2);
@ -91,8 +90,7 @@ public class CollatingIterator<E> implements Iterator<E> {
* {@link #addIterator(Iterator)} method. * {@link #addIterator(Iterator)} method.
* *
* @param comp the comparator to use to sort; must not be null, * @param comp the comparator to use to sort; must not be null,
* unless you'll be invoking {@link #setComparator(Comparator)} * unless you'll be invoking {@link #setComparator(Comparator)} later on.
* later on.
* @param initIterCapacity the initial capacity for the internal list of * @param initIterCapacity the initial capacity for the internal list of
* child iterators * child iterators
*/ */
@ -107,8 +105,7 @@ public class CollatingIterator<E> implements Iterator<E> {
* iterators. * iterators.
* *
* @param comp the comparator to use to sort; must not be null, * @param comp the comparator to use to sort; must not be null,
* unless you'll be invoking {@link #setComparator(Comparator)} * unless you'll be invoking {@link #setComparator(Comparator)} later on.
* later on.
* @param a the first child ordered iterator * @param a the first child ordered iterator
* @param b the second child ordered iterator * @param b the second child ordered iterator
* @throws NullPointerException if either iterator is null * @throws NullPointerException if either iterator is null
@ -126,8 +123,7 @@ public class CollatingIterator<E> implements Iterator<E> {
* iterators. * iterators.
* *
* @param comp the comparator to use to sort; must not be null, * @param comp the comparator to use to sort; must not be null,
* unless you'll be invoking {@link #setComparator(Comparator)} * unless you'll be invoking {@link #setComparator(Comparator)} later on.
* later on.
* @param iterators the array of iterators * @param iterators the array of iterators
* @throws NullPointerException if iterators array is or contains null * @throws NullPointerException if iterators array is or contains null
*/ */
@ -144,11 +140,9 @@ public class CollatingIterator<E> implements Iterator<E> {
* iterators. * iterators.
* *
* @param comp the comparator to use to sort; must not be null, * @param comp the comparator to use to sort; must not be null,
* unless you'll be invoking {@link #setComparator(Comparator)} * unless you'll be invoking {@link #setComparator(Comparator)} later on.
* later on.
* @param iterators the collection of iterators * @param iterators the collection of iterators
* @throws NullPointerException if the iterators collection is or contains * @throws NullPointerException if the iterators collection is or contains null
* null
* @throws ClassCastException if the iterators collection contains an * @throws ClassCastException if the iterators collection contains an
* element that's not an {@link Iterator} * element that's not an {@link Iterator}
*/ */
@ -259,8 +253,7 @@ public class CollatingIterator<E> implements Iterator<E> {
} }
/** /**
* Removes the last returned element from the child iterator that produced * Removes the last returned element from the child iterator that produced it.
* it.
* *
* @throws IllegalStateException if there is no last returned element, or if * @throws IllegalStateException if there is no last returned element, or if
* the last returned element has already been removed * the last returned element has already been removed