Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 454 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-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)
  4. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

     * matches the insertion order. All optional operations (adding and removing) are supported. All
     * elements, including {@code null}, are permitted.
     *
     * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, are all (expected and amortized)
     * constant time operations. Expected in the hashtable sense (depends on the hash function doing a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ArrayTable.java

     * href="https://github.com/google/guava/wiki/NewCollectionTypesExplained#table">the wiki</a>.
     *
     * <p>The allowed row and column keys must be supplied when the table is created. The table always
     * contains a mapping for every row key / column pair. The value corresponding to a given row and
     * column is null unless another value is provided.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

          }
    
          @Override
          public boolean remove(@CheckForNull Object o) {
            if (!contains(o)) {
              return false;
            }
            // requireNonNull is safe because of the contains check.
            Map.Entry<?, ?> entry = requireNonNull((Map.Entry<?, ?>) o);
            removeValuesForKey(entry.getKey());
            return true;
          }
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 86.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

          }
    
          // If we're still here, there was a race, so just try again.
        }
      }
    
      /**
       * Removes a number of occurrences of the specified element from this multiset. If the multiset
       * contains fewer than this number of occurrences to begin with, all occurrences will be removed.
       *
       * @param element the element whose occurrences should be removed
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SortedListsTest.java

          case FIRST_PRESENT:
            if (list.contains(key)) {
              assertEquals(list.indexOf(key), answer);
              return;
            }
            break;
          case LAST_PRESENT:
            if (list.contains(key)) {
              assertEquals(list.lastIndexOf(key), answer);
              return;
            }
            break;
          case ANY_PRESENT:
            if (list.contains(key)) {
              assertEquals(key, list.get(answer));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

      public void testToString() {
        assertEquals("{a={1=blah}}", testTable.toString());
      }
    
      public void testContains() {
        assertTrue(testTable.contains('a', 1));
        assertFalse(testTable.contains('a', 2));
        assertFalse(testTable.contains('A', 1));
        assertFalse(testTable.contains('A', 2));
      }
    
      public void testContainsColumn() {
        assertTrue(testTable.containsColumn(1));
        assertFalse(testTable.containsColumn(2));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

        assertTrue(copy.contains(list.get(size - 1)));
        assertTrue(head.contains(list.get(size - 2)));
        assertTrue(tail.contains(list.get(size - 1)));
        assertFalse(head.contains(list.get(size - 1)));
        assertFalse(tail.contains(list.get(0)));
      }
    
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testSubList_indexOf() {
        List<E> list = getList();
        int size = getNumElements();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top