Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for JDK6 (0.14 sec)

  1. android/guava/src/com/google/common/collect/FilteredMultimapValues.java

            // explicit <Entry<K, V>> is required to build with JDK6
            Predicates.<Entry<K, V>>and(
                multimap.entryPredicate(), Maps.<V>valuePredicateOnEntries(Predicates.in(c))));
      }
    
      @Override
      public boolean retainAll(Collection<?> c) {
        return Iterables.removeIf(
            multimap.unfiltered().entries(),
            // explicit <Entry<K, V>> is required to build with JDK6
            Predicates.<Entry<K, V>>and(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/FilteredMultimapValues.java

            // explicit <Entry<K, V>> is required to build with JDK6
            Predicates.<Entry<K, V>>and(
                multimap.entryPredicate(), Maps.<V>valuePredicateOnEntries(Predicates.in(c))));
      }
    
      @Override
      public boolean retainAll(Collection<?> c) {
        return Iterables.removeIf(
            multimap.unfiltered().entries(),
            // explicit <Entry<K, V>> is required to build with JDK6
            Predicates.<Entry<K, V>>and(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SortedIterablesTest.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class SortedIterablesTest extends TestCase {
      public void testSameComparator() {
        assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Sets.newTreeSet()));
        // Before JDK6 (including under GWT), the TreeMap keySet is a plain Set.
        if (Maps.newTreeMap().keySet() instanceof SortedSet) {
          assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Maps.newTreeMap().keySet()));
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  4. 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SortedIterablesTest.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class SortedIterablesTest extends TestCase {
      public void testSameComparator() {
        assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Sets.newTreeSet()));
        // Before JDK6 (including under GWT), the TreeMap keySet is a plain Set.
        if (Maps.newTreeMap().keySet() instanceof SortedSet) {
          assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Maps.newTreeMap().keySet()));
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. 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
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Closer.java

     * {@linkplain #close closed}. This is 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. Running on Java 7, code using this
     * should be approximately equivalent in behavior to the same code written with try-with-resources.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  8. android/pom.xml

                       have the same issue with our -android builds, which need
                       animal-sniffer so that they can check that we're sticking to
                       JDK6-like APIs.
    
                       So instead, we use javac9, which doesn't lead to this error.
                  -->
                  <compilerArgs combine.children="append">
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  9. 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 {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  10. android/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 {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 45.2K bytes
    - Viewed (0)
Back to top