Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 604 for Fontaine (0.17 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-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

        assertFalse(
            "multiset.entrySet() contains [missing, 0]",
            getMultiset().entrySet().contains(Multisets.immutableEntry(e3(), 0)));
      }
    
      public void testEntrySet_contains_nonentry() {
        assertFalse(
            "multiset.entrySet() contains a non-entry", getMultiset().entrySet().contains(e0()));
      }
    
      public void testEntrySet_twice() {
        assertEquals(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.9K bytes
    - Viewed (0)
  4. android/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-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java

        int initialSize = getList().size();
        assertTrue("remove(present) should return true", getList().remove(duplicate));
        assertTrue(
            "After remove(duplicate), a list should still contain the duplicate element",
            getList().contains(duplicate));
        assertFalse(
            "remove(duplicate) should remove the first instance of the "
                + "duplicate element in the list",
            firstIndex == getList().indexOf(duplicate));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

              return optional.orNull();
            }
          };
    
      /**
       * Sets.cartesianProduct doesn't allow sets that contain null, but we want null to mean "don't
       * call the associated CacheBuilder method" - that is, get the default CacheBuilder behavior. This
       * method wraps the elements in the input sets (which may contain null) as Optionals, calls
       * Sets.cartesianProduct with those, then transforms the result to unwrap the Optionals.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

    @GwtCompatible
    public enum CollectionFeature implements Feature<Collection> {
      /**
       * The collection must not throw {@code NullPointerException} on calls such as {@code
       * contains(null)} or {@code remove(null)}, but instead must return a simple {@code false}.
       */
      ALLOWS_NULL_QUERIES,
      ALLOWS_NULL_VALUES(ALLOWS_NULL_QUERIES),
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheLoader.java

       * LoadingCache#getAll}.
       *
       * <p>If the returned map doesn't contain all requested {@code keys} then the entries it does
       * contain will be cached, but {@code getAll} will throw an exception. If the returned map
       * contains extra keys not present in {@code keys} then all returned entries will be cached, but
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

         * @param phase
         * @return
         */
        public Lifecycle get(String phase) {
            return getPhaseToLifecycleMap().get(phase);
        }
    
        /**
         * We use this to map all phases to the lifecycle that contains it. This is used so that a user can specify the
         * phase they want to execute and we can easily determine what lifecycle we need to run.
         *
         * @return A map of lifecycles, indexed on id
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ObjectArrays.java

       */
      public static <T extends @Nullable Object> T[] newArray(T[] reference, int length) {
        return Platform.newArray(reference, length);
      }
    
      /**
       * Returns a new array that contains the concatenated contents of two arrays.
       *
       * @param first the first array of elements to concatenate
       * @param second the second array of elements to concatenate
       * @param type the component type of the returned array
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
Back to top