- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for JDK6 (0.02 sec)
-
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
return newArrayList(2, 1, 3).iterator(); } }; assertFailure(tester); } /** * This Iterator wraps another iterator and gives it a bug found in JDK6. * * <p>This bug is this: if you create an iterator from a TreeSet and call next() on that iterator * when hasNext() is false, so that next() throws a NoSuchElementException, then subsequent calls
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 10.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
return newArrayList(2, 1, 3).iterator(); } }; assertFailure(tester); } /** * This Iterator wraps another iterator and gives it a bug found in JDK6. * * <p>This bug is this: if you create an iterator from a TreeSet and call next() on that iterator * when hasNext() is false, so that next() throws a NoSuchElementException, then subsequent calls
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
* {@linkplain #close closed}. This was intended to approximately emulate the behavior of Java 7's * <a href="http://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html" * >try-with-resources</a> statement in JDK6-compatible code. Code using this should be * approximately equivalent in behavior to the same code written with try-with-resources. * * <p>This class is intended to be used in the following pattern: * * <pre>{@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.4K bytes - Viewed (0) -
guava/src/com/google/common/io/Closer.java
* {@linkplain #close closed}. This was intended to approximately emulate the behavior of Java 7's * <a href="http://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html" * >try-with-resources</a> statement in JDK6-compatible code. Code using this should be * approximately equivalent in behavior to the same code written with try-with-resources. * * <p>This class is intended to be used in the following pattern: * * <pre>{@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
private static <E> Iterator<E> asIterator(E... elements) { return asList(elements).iterator(); } // In GWT, java.util.TreeSet throws ClassCastException when the comparator // throws it, unlike JDK6. Therefore, we accept ClassCastException as a // valid result thrown by java.util.TreeSet#equals. private static void assertNotEqualLenient(TreeSet<?> unexpected, SortedSet<?> actual) { try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 46.7K bytes - Viewed (0)