提交 14cf8bf6 编写于 作者: P psandoz

8014732: Minor spec issue: java.util.Spliterator.getExactSizeIfKnown

Summary: A minor documentation issue (not a spec issue).
Reviewed-by: chegar, dl
上级 ec368531
......@@ -394,9 +394,9 @@ public interface Spliterator<T> {
* 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}.
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册