Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 759 for Fontaine (0.22 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      }
    
      @Override
      protected void expectMissing(Entry<K, V>... entries) {
        for (Entry<K, V> entry : entries) {
          assertFalse("Should not contain entry " + entry, actualContents().contains(entry));
          assertFalse(
              "Should not contain key " + entry.getKey() + " mapped to value " + entry.getValue(),
              equal(getMap().get(entry.getKey()), entry.getValue()));
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimap.java

       */
      int size();
    
      /**
       * Returns {@code true} if this multimap contains no key-value pairs. Equivalent to {@code size()
       * == 0}, but can in some cases be more efficient.
       */
      boolean isEmpty();
    
      /**
       * Returns {@code true} if this multimap contains at least one key-value pair with the key {@code
       * key}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Collections2.java

      }
    
      /**
       * Delegates to {@link Collection#contains}. Returns {@code false} if the {@code contains} method
       * throws a {@code ClassCastException} or {@code NullPointerException}.
       */
      static boolean safeContains(Collection<?> collection, @CheckForNull Object object) {
        checkNotNull(collection);
        try {
          return collection.contains(object);
        } catch (ClassCastException | NullPointerException e) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

        assertTrue(
            "addAll(somePresent) should return true",
            collection.addAll(MinimalCollection.of(e3(), e0())));
        assertTrue("should contain " + e3(), collection.contains(e3()));
        assertTrue("should contain " + e0(), collection.contains(e0()));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAll_unsupportedSomePresent() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

            : Iterators.size(iterable.iterator());
      }
    
      /**
       * Returns {@code true} if {@code iterable} contains any element {@code o} for which {@code
       * Objects.equals(o, element)} would return {@code true}. Otherwise returns {@code false}, even in
       * cases where {@link Collection#contains} might throw {@link NullPointerException} or {@link
       * ClassCastException}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multisets.java

        checkNotNull(multiset1);
        checkNotNull(multiset2);
    
        return new ViewMultiset<E>() {
          @Override
          public boolean contains(@CheckForNull Object element) {
            return multiset1.contains(element) || multiset2.contains(element);
          }
    
          @Override
          public boolean isEmpty() {
            return multiset1.isEmpty() && multiset2.isEmpty();
          }
    
          @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 41.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

          }
        }
        return -1;
      }
    
      /**
       * Returns {@code true} if {@code target} is present at any index in this array. Equivalent to
       * {@code asList().contains(target)}.
       */
      public boolean contains(int target) {
        return indexOf(target) >= 0;
      }
    
      /** Returns a new, mutable copy of this array's values, as a primitive {@code int[]}. */
      public int[] toArray() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/HashBiMap.java

      @Override
      public boolean containsKey(@CheckForNull Object key) {
        return findEntryByKey(key) != ABSENT;
      }
    
      /**
       * Returns {@code true} if this BiMap contains an entry whose value is equal to {@code value} (or,
       * equivalently, if this inverse view contains a key that is equal to {@code value}).
       *
       * <p>Due to the property that values in a BiMap are unique, this will tend to execute in
       * faster-than-linear time.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

      }
    
      /**
       * Returns {@code true} if {@code target} is present at any index in this array. Values are
       * compared as if by {@link Double#equals}. Equivalent to {@code asList().contains(target)}.
       */
      public boolean contains(double target) {
        return indexOf(target) >= 0;
      }
    
      /** Returns a new, mutable copy of this array's values, as a primitive {@code double[]}. */
      public double[] toArray() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

          ImmutableSortedSet<E> original = (ImmutableSortedSet<E>) elements;
          if (!original.isPartialView()) {
            return original;
          }
        }
        @SuppressWarnings("unchecked") // elements only contains E's; it's safe.
        E[] array = (E[]) Iterables.toArray(elements);
        return construct(comparator, array.length, array);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 36.7K bytes
    - Viewed (0)
Back to top