Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 816 for Fontaine (0.18 sec)

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

            getList().removeAll(MinimalCollection.of(duplicate)));
        assertFalse(
            "after removeAll(e), a collection should not contain e even "
                + "if it initially contained e more than once.",
            getList().contains(duplicate));
      }
    
      // All other cases are covered by CollectionRemoveAllTester.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java

            getList().removeAll(MinimalCollection.of(duplicate)));
        assertFalse(
            "after removeAll(e), a collection should not contain e even "
                + "if it initially contained e more than once.",
            getList().contains(duplicate));
      }
    
      // All other cases are covered by CollectionRemoveAllTester.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       */
      @CanIgnoreReturnValue
      protected C resetContainer(C newValue) {
        container = newValue;
        return container;
      }
    
      /**
       * @see #expectContents(java.util.Collection)
       * @param elements expected contents of {@link #container}
       */
      protected final void expectContents(E... elements) {
        expectContents(Arrays.asList(elements));
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/HostAndPort.java

       * prohibit these.
       *
       * @param host the host string to parse. Must not contain a port number.
       * @param port a port number from [0..65535]
       * @return if parsing was successful, a populated HostAndPort object.
       * @throws IllegalArgumentException if {@code host} contains a port number, or {@code port} is out
       *     of range.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 22 20:55:57 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  5. 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)
  6. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 77.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multiset.java

      /**
       * Determines whether this multiset contains the specified element.
       *
       * <p>This method refines {@link Collection#contains} to further specify that it <b>may not</b>
       * throw an exception in response to {@code element} being null or of the wrong type.
       *
       * @param element the element to check for
       * @return {@code true} if this multiset contains at least one occurrence of the element
       */
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  8. android/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 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TreeRangeSet.java

            TreeRangeSet.this.remove(rangeToRemove.intersection(restriction));
          }
        }
    
        @Override
        public boolean contains(C value) {
          return restriction.contains(value) && TreeRangeSet.this.contains(value);
        }
    
        @Override
        public void clear() {
          TreeRangeSet.this.remove(restriction);
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 32.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/BloomFilterTest.java

            ImmutableSet.of(
                49, 51, 59, 163, 199, 321, 325, 363, 367, 469, 545, 561, 727, 769, 773, 781);
        for (int i = 1; i < 900; i += 2) {
          if (!falsePositives.contains(i)) {
            assertFalse("BF should not contain " + i, bf.mightContain(Integer.toString(i)));
          }
        }
    
        // Check that there are exactly 29824 false positives for this BF.
        int knownNumberOfFalsePositives = 29824;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
Back to top