Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         * This map is usually either empty if no module was found, or a singleton map.
         * It may however contain more than one entry if module hierarchy was detected,
         * in which case there is one key per sub-directory.
         *
         * <p>This map may contain null values if the constructor was invoked with {@code resolve}
         * parameter set to false. This is more efficient when only the module existence needs to
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        boolean contained = false;
        if (actual instanceof Collection) {
          contained = ((Collection<?>) actual).contains(expected);
        } else {
          for (Object o : actual) {
            if (equal(o, expected)) {
              contained = true;
              break;
            }
          }
        }
    
        if (!contained) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. android/guava/src/com/google/common/collect/CompactHashSet.java

        setHashTableMask(newMask);
        return newMask;
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        if (needsAllocArrays()) {
          return false;
        }
        Set<E> delegate = delegateOrNull();
        if (delegate != null) {
          return delegate.contains(object);
        }
        int hash = smearedHash(object);
        int mask = hashTableMask();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ContiguousSet.java

       * contained in this set. This is equivalent to {@code range(CLOSED, CLOSED)}.
       *
       * @throws NoSuchElementException if this set is empty
       */
      public abstract Range<C> range();
    
      /**
       * Returns the minimal range with the given boundary types for which all values in this set are
       * {@linkplain Range#contains(Comparable) contained} within the range.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
Back to top