RFR : 7129185 : (M) Add Collections.{checked|empty|unmodifiable}Navigable{Map|Set}

Martin Buchholz martinrb at google.com
Fri Jun 7 21:51:47 UTC 2013


<tt> is denigrated in favor of {@code ?

---

"specified navigable set" ?

+     * The returned navigable set will be serializable if the specified
sorted set
+     * is serializable.

---

Y U NO throw UOE?

+        @Override
+        public Entry<K, V> pollFirstEntry() {
+            Entry<K,V> entry = (Entry<K,V>) nm.pollFirstEntry();
+            return (null == entry) ? null : new
UnmodifiableEntrySet.UnmodifiableEntry(entry);
+        }

---
navigable set?

+     * Returns a synchronized (thread-safe) sorted set backed by the
specified
+     * navigable set.  In order to guarantee serial access, it is critical
that

On Fri, Jun 7, 2013 at 10:58 AM, Mike Duigou <mike.duigou at oracle.com> wrote:

> Hello all;
>
> I've incorporated feedback from previous rounds and expect to finalize
> this addition soon.
>
> http://cr.openjdk.java.net/~mduigou/JDK-7129185/2/webrev/
>
> Any review feedback or suggestions of additional tests welcome.
>
> Thanks,
>
> Mike
>
>
>



More information about the core-libs-dev mailing list