Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 129 for Haddad (0.15 sec)

  1. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        // notifications for all of them.
        for (int i = 0; i < nSeededEntries; i++) {
          assertEquals("b" + i, removalNotifications.get("b" + i));
        }
    
        // Each of the values added to the map should either still be there, or have seen a removal
        // notification.
        assertEquals(expectedKeys, Sets.union(cache.asMap().keySet(), removalNotifications.keySet()));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/IterablesTest.java

        List<String> alreadyThere = newArrayList("already", "there");
        List<String> freshlyAdded = newArrayList("freshly", "added");
    
        boolean changed = Iterables.addAll(alreadyThere, freshlyAdded);
        assertThat(alreadyThere).containsExactly("already", "there", "freshly", "added").inOrder();
        assertTrue(changed);
      }
    
      private static void assertCanIterateAgain(Iterable<?> iterable) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Collections2.java

        }
    
        /**
         * The number of permutations with repeated elements is calculated as follows:
         *
         * <ul>
         *   <li>For an empty list, it is 1 (base case).
         *   <li>When r numbers are added to a list of n-r elements, the number of permutations is
         *       increased by a factor of (n choose r).
         * </ul>
         */
        private static <E> int calculateSize(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/InvokableTest.java

      // Historically Invokable inherited from java.lang.reflect.AccessibleObject. That's no longer the
      // case, but we do check that its API still has the same public methods. We exclude some methods
      // that were added in Java 9 and that people probably weren't calling via Invokable, namely
      // `boolean canAccess(Object)` and `boolean trySetAccessible()`.
      public void testApiCompatibleWithAccessibleObject() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.9K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                        "The plugin " + pluginDescriptor.getId() + " has unmet prerequisites: " + messages,
                        prerequisiteExceptions.get(0));
                // the first exception is added as cause, all other ones as suppressed exceptions
                prerequisiteExceptions.stream().skip(1).forEach(pie::addSuppressed);
                throw pie;
            }
        }
    
        @Override
        @Deprecated
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Floats.java

       * other utilities in this package.
       *
       * <p><b>Note:</b> this method simply delegates to the JDK method {@link Float#compare}. It is
       * provided for consistency with the other primitive types, whose compare methods were not added
       * to the JDK until JDK 7.
       *
       * @param a the first {@code float} to compare
       * @param b the second {@code float} to compare
       * @return the result of invoking {@link Float#compare(float, float)}
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/InetAddresses.java

     * creation methods appear to adhere doggedly to the original intent of the "mapped" address: all
     * "mapped" addresses return {@link Inet4Address} objects.
     *
     * <p>For added safety, it is common for IPv6 network operators to filter all packets where either
     * the source or destination address appears to be a "compat" or "mapped" address. Filtering
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

     * multimap.
     *
     * <p>The collections returned by {@code keySet}, {@code keys}, and {@code asMap} iterate through
     * the keys in the order they were first added to the multimap. Similarly, {@code get}, {@code
     * removeAll}, and {@code replaceValues} return collections that iterate through the values in the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/LinkedListMultimap.java

     * the order they were first added to the multimap. Similarly, {@link #get}, {@link #removeAll}, and
     * {@link #replaceValues} return collections that iterate through the values in the order they were
     * added. The collections generated by {@link #entries()}, {@link #keys()}, and {@link #values}
     * iterate across the key-value mappings in the order they were added to the multimap.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java

            projects = new ProjectSorter(projects).getSortedProjects();
    
            assertEquals(parentProject, projects.get(0));
    
            // the order of these two is non-deterministic, based on when they're added to the reactor.
            assertThat(projects, hasItem(pluginProject));
            assertThat(projects, hasItem(pluginLevelDepProject));
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 12.4K bytes
    - Viewed (0)
Back to top