Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Fontaine (0.24 sec)

  1. guava-tests/test/com/google/common/collect/SetsTest.java

            .inOrder();
      }
    
      public void testCartesianProduct_contains() {
        Set<List<Integer>> actual = Sets.cartesianProduct(set(1, 2), set(3, 4));
        assertTrue(actual.contains(list(1, 3)));
        assertTrue(actual.contains(list(1, 4)));
        assertTrue(actual.contains(list(2, 3)));
        assertTrue(actual.contains(list(2, 4)));
        assertFalse(actual.contains(list(3, 1)));
      }
    
      public void testCartesianProduct_equals() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void test_contains_nonnull_yes() {
        Iterator<@Nullable String> set = Arrays.<@Nullable String>asList("a", null, "b").iterator();
        assertTrue(Iterators.contains(set, "b"));
      }
    
      public void test_contains_nonnull_no() {
        Iterator<String> set = asList("a", "b").iterator();
        assertFalse(Iterators.contains(set, "c"));
      }
    
      public void test_contains_null_yes() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * keys and values are the result of applying the provided mapping functions to the input
       * elements. The generated map is sorted by the specified comparator.
       *
       * <p>If the mapped keys contain duplicates (according to the specified comparator), an {@code
       * IllegalArgumentException} is thrown when the collection operation is performed. (This differs
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Synchronized.java

        @Override
        public void clear() {
          synchronized (mutex) {
            delegate().clear();
          }
        }
    
        @Override
        public boolean contains(@CheckForNull Object o) {
          synchronized (mutex) {
            return delegate().contains(o);
          }
        }
    
        @Override
        public boolean containsAll(Collection<?> c) {
          synchronized (mutex) {
            return delegate().containsAll(c);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedMap.java

       * keys and values are the result of applying the provided mapping functions to the input
       * elements. The generated map is sorted by the specified comparator.
       *
       * <p>If the mapped keys contain duplicates (according to the specified comparator), an {@code
       * IllegalArgumentException} is thrown when the collection operation is performed. (This differs
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapsTest.java

            .containsExactly(Maps.immutableEntry(4, "d"), Maps.immutableEntry(2, "b"))
            .inOrder();
        assertThat(diff1.entriesOnlyOnRight().entrySet()).contains(Maps.immutableEntry(6, "z"));
        assertThat(diff1.entriesInCommon().entrySet()).contains(Maps.immutableEntry(1, "a"));
        assertThat(diff1.entriesDiffering().entrySet())
            .containsExactly(
                Maps.immutableEntry(5, ValueDifferenceImpl.create("e", "g")),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MapsTest.java

            .containsExactly(Maps.immutableEntry(4, "d"), Maps.immutableEntry(2, "b"))
            .inOrder();
        assertThat(diff1.entriesOnlyOnRight().entrySet()).contains(Maps.immutableEntry(6, "z"));
        assertThat(diff1.entriesInCommon().entrySet()).contains(Maps.immutableEntry(1, "a"));
        assertThat(diff1.entriesDiffering().entrySet())
            .containsExactly(
                Maps.immutableEntry(5, ValueDifferenceImpl.create("e", "g")),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      //   waiters field.
      // * Future completion is defined by when #value becomes non-null/non SetFuture
      // * Future completion can be observed if the waiters field contains a TOMBSTONE
    
      // Timed Get
      // There are a few design constraints to consider
      // * We want to be responsive to small timeouts, unpark() has non trivial latency overheads (I
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Sets.java

          }
    
          @Override
          public boolean contains(@CheckForNull Object element) {
            return set1.contains(element) && !set2.contains(element);
          }
        };
      }
    
      /**
       * Returns an unmodifiable <b>view</b> of the symmetric difference of two sets. The returned set
       * contains all elements that are contained in either {@code set1} or {@code set2} but not in
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            .testEquals();
      }
    
      private static class Container<T> {
        @SuppressWarnings("unused")
        public Container(T data) {}
      }
    
      public <T extends Container<String>> void testConstructor_parameterTypes()
          throws NoSuchMethodException {
        @SuppressWarnings("rawtypes") // Reflection API skew
        Constructor<Container> constructor = Container.class.getConstructor(Object.class);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
Back to top