RFR 8014732: Minor spec issue: java.util.Spliterator.getExactSizeIfKnown (original) (raw)
Paul Sandoz paul.sandoz at oracle.com
Wed May 29 11:36:26 UTC 2013
- Previous message: RFR 8015008: Primitive iterator over empty sequence, null consumer: forEachRemaining methods do not throw NPE
- Next message: RFR 8014732: Minor spec issue: java.util.Spliterator.getExactSizeIfKnown
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
Please review this JavaDoc fixe to j.u.Spliterator.getExactSizeIfKnown.
Paul.
HG changeset patch
User psandoz
Date 1369825085 -7200
Node ID 840469ba82ab8d8238414a5333aa99b8d4035a9b
Parent 7ded996200218791c885c0aae4c474066101c7bd
8014732: Minor spec issue: java.util.Spliterator.getExactSizeIfKnown Summary: A minor documentation issue (not a spec issue). Reviewed-by:
diff -r 7ded99620021 -r 840469ba82ab src/share/classes/java/util/Spliterator.java --- a/src/share/classes/java/util/Spliterator.java Wed May 29 12:58:03 2013 +0200 +++ b/src/share/classes/java/util/Spliterator.java Wed May 29 12:58:05 2013 +0200 @@ -394,9 +394,9 @@ * Convenience method that returns {@link #estimateSize()} if this * Spliterator is {@link #SIZED}, else {@code -1}. * @implSpec
* The default returns the result of {@code estimateSize()} if the
* Spliterator reports a characteristic of {@code SIZED}, and {@code -1}
* otherwise.
* The default implementation returns the result of {@code estimateSize()}
* if the Spliterator reports a characteristic of {@code SIZED}, and
* {@code -1} otherwise. * * @return the exact size, if known, else {@code -1}. */
- Previous message: RFR 8015008: Primitive iterator over empty sequence, null consumer: forEachRemaining methods do not throw NPE
- Next message: RFR 8014732: Minor spec issue: java.util.Spliterator.getExactSizeIfKnown
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]