Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 469 for have (0.14 sec)

  1. guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       * documentation for {@link Collection}:
       *
       * <blockquote>
       *
       * "Some collection implementations have restrictions on the elements that they may contain. For
       * example, some implementations prohibit null elements, and some have restrictions on the types
       * of their elements."
       *
       * </blockquote>
       */
      RESTRICTS_ELEMENTS,
    
      /**
    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)
  2. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * @throws IllegalArgumentException if two keys have the same value or two values have the same
       *     key
       * @throws NullPointerException if any key or value in {@code map} is null
       */
      public static <K, V> ImmutableBiMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
      protected void tearDown() throws Exception {
    
        // Make sure we have no waiting threads.
        latch.countDown();
      }
    
      /** Constructs a listenable future with a value available after the latch has counted down. */
      protected abstract <V> ListenableFuture<V> createListenableFuture(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 18:30:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java

    public interface BeanConfigurationRequest {
    
        /**
         * Gets the bean to configure. Eventually, a valid request must have a bean set.
         *
         * @return The bean to configure, or {@code null} if none.
         */
        Object getBean();
    
        /**
         * Sets the bean to configure. Eventually, a valid request must have a bean set.
         *
         * @param bean The bean to configure, may be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        }
    
        // All of the seed values should have been visible, so we should have gotten removal
        // 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.
    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)
  6. android/guava/src/com/google/common/graph/Traverser.java

       *       of nodes that have thus far been visited), plus <i>O(H)</i> space (where <i>H</i> is the
       *       number of nodes that have been seen but not yet visited, that is, the "horizon").
       * </ul>
       *
       * @param graph {@link SuccessorsFunction} representing a general graph that may have cycles.
       */
      public static <N> Traverser<N> forGraph(SuccessorsFunction<N> graph) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Collections2.java

       * first permutation will be in ascending order, and the last will be in descending order.
       *
       * <p>Duplicate elements are considered equal. For example, the list [1, 1] will have only one
       * permutation, instead of two. This is why the elements have to implement {@link Comparable}.
       *
       * <p>An empty iterable has only one permutation, which is an empty list.
       *
    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)
  8. android/guava/src/com/google/common/collect/RegularImmutableMap.java

      private final transient int size;
    
      /*
       * We have some considerable complexity in these create methods because of
       * Builder.buildKeepingLast(). The same Builder might be called with buildKeepingLast() and then
       * buildOrThrow(), or vice versa. So in particular, if we modify alternatingKeysAndValues to
       * eliminate duplicate keys (for buildKeepingLast()) then we have to ensure that a later call to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimap.java

     * {@code SetMultimap} instead, two presidents would have vanished, and last names might or might
     * not appear in chronological order.
     *
     * <p><b>Warning:</b> instances of type {@code Multimap} may not implement {@link Object#equals} in
     * the way you expect. Multimaps containing the same key-value pairs, even in the same order, may or
     * may not be equal and may or may not have the same {@code hashCode}. The recommended subinterfaces
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/SuppliersTest.java

        // it still should only have executed once due to memoization
        assertEquals(1, countingSupplier.calls);
    
        Thread.sleep(150);
    
        assertEquals(20, (int) memoizedSupplier.get());
        // old value expired
        assertEquals(2, countingSupplier.calls);
    
        assertEquals(20, (int) memoizedSupplier.get());
        // it still should only have executed twice due to memoization
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
Back to top