changeset 7835:c4427118332f

docs
author psandoz
date Mon, 08 Apr 2013 15:32:04 +0200
parents 92de05e3de00
children 4adff1640806
files src/share/classes/java/util/PrimitiveIterator.java src/share/classes/java/util/Spliterator.java
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/util/PrimitiveIterator.java	Mon Apr 08 14:58:43 2013 +0200
+++ b/src/share/classes/java/util/PrimitiveIterator.java	Mon Apr 08 15:32:04 2013 +0200
@@ -44,7 +44,8 @@
  * should be used in preference to {@link PrimitiveIterator.OfInt#next()} and
  * {@link PrimitiveIterator.OfInt#forEachRemaining(java.util.function.Consumer)}.
  *
- * <p>Iteration of primitive values using {@link Iterator#next next()} and
+ * <p>Iteration of primitive values using boxing-based methods
+ * {@link Iterator#next next()} and
  * {@link Iterator#forEachRemaining(java.util.function.Consumer) forEachRemaining()},
  * does not affect the order in which the values, transformed to boxed values,
  * are encountered.
--- a/src/share/classes/java/util/Spliterator.java	Mon Apr 08 14:58:43 2013 +0200
+++ b/src/share/classes/java/util/Spliterator.java	Mon Apr 08 15:32:04 2013 +0200
@@ -105,8 +105,9 @@
  * should be used in preference to
  * {@link Spliterator.OfInt#tryAdvance(java.util.function.Consumer)} and
  * {@link Spliterator.OfInt#forEachRemaining(java.util.function.Consumer)}.
- * Traversal of primitive values using {@link #tryAdvance tryAdvance()} and
- * {@link #forEachRemaining(java.util.function.Consumer)} forEachRemaining()},
+ * Traversal of primitive values using boxing-based methods
+ * {@link #tryAdvance tryAdvance()} and
+ * {@link #forEachRemaining(java.util.function.Consumer) forEachRemaining()},
  * does not affect the order in which the values, transformed to boxed values,
  * are encountered.
  *