Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for mocked (0.14 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

          int expectedSize) {
        return new HashSet<>(Maps.capacity(expectedSize));
      }
    
      /**
       * Creates a thread-safe set backed by a hash map. The set is backed by a {@link
       * ConcurrentHashMap} instance, and thus carries the same concurrency guarantees.
       *
       * <p>Unlike {@code HashSet}, this class does NOT allow {@code null} to be used as an element. The
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

        return CollectCollectors.<T, K, V, M>flatteningToMultimap(
            keyFunction, valueFunction, multimapSupplier);
      }
    
      /**
       * Creates a new {@code Multimap} backed by {@code map}, whose internal value collections are
       * generated by {@code factory}.
       *
       * <p><b>Warning: do not use</b> this method when the collections returned by {@code factory}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMultiset.java

        @CanIgnoreReturnValue
        @Override
        public Builder<E> addAll(Iterator<? extends E> elements) {
          super.addAll(elements);
          return this;
        }
    
        /**
         * If the specified collection is backed by an ObjectCountHashMap, it will be much more
         * efficient to iterate over it by index rather than an entry iterator, which will need to
         * allocate an object for each entry, so we check for that.
         */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

            return entry.getValue();
          }
        };
      }
    
      /**
       * Returns an immutable map instance containing the given entries. Internally, the returned map
       * will be backed by an {@link EnumMap}.
       *
       * <p>The iteration order of the returned map follows the enum's iteration order, not the order in
       * which the elements appear in the given map.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

          }
          // The cast is safe because of the hasPeeked check.
          return uncheckedCastNullableTToT(peekedElement);
        }
      }
    
      /**
       * Returns a {@code PeekingIterator} backed by the given iterator.
       *
       * <p>Calls to the {@code peek} method with no intervening calls to {@code next} do not affect the
       * iteration, and hence return the same object each time. A subsequent call to {@code next} is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top