Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 623 for iterables (0.05 seconds)

  1. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

     * should use the type safe {@link #putInstance}.
     *
     * <p>Also, if caller suppresses unchecked warnings and passes in an {@code Iterable<String>} for
     * type {@code Iterable<Integer>}, the map won't be able to detect and throw type error.
     *
     * <p>Like any other {@code Map<Class, Object>}, this map may contain entries for primitive types,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ForwardingMultimap.java

      public boolean put(@ParametricNullness K key, @ParametricNullness V value) {
        return delegate().put(key, value);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean putAll(@ParametricNullness K key, Iterable<? extends V> values) {
        return delegate().putAll(key, values);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ForwardingMultimap.java

      public boolean put(@ParametricNullness K key, @ParametricNullness V value) {
        return delegate().put(key, value);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean putAll(@ParametricNullness K key, Iterable<? extends V> values) {
        return delegate().putAll(key, values);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

      private static class CountingIterable implements Iterable<String> {
        int count = 0;
    
        @Override
        public Iterator<String> iterator() {
          count++;
          return asList("a", "b", "a").iterator();
        }
      }
    
      public void testCopyOf_plainIterable() {
        CountingIterable iterable = new CountingIterable();
        Multiset<String> multiset = ImmutableSortedMultiset.copyOf(iterable);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

      /**
       * Find all the tester annotations declared on a tester class or method.
       *
       * @param classOrMethod a class or method whose tester annotations to find
       * @return an iterable sequence of tester annotations on the class
       */
      public static Iterable<Annotation> getTesterAnnotations(AnnotatedElement classOrMethod) {
        synchronized (annotationCache) {
          List<Annotation> annotations = annotationCache.get(classOrMethod);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  6. .teamcity/src/main/kotlin/configurations/PartialTrigger.kt

    import jetbrains.buildServer.configs.kotlin.DslContext
    import model.CIBuildModel
    
    class PartialTrigger<T : BaseGradleBuildType>(
        triggerName: String,
        triggerId: String,
        model: CIBuildModel,
        dependencies: Iterable<T>,
    ) : BaseGradleBuildType(init = {
            id("${model.projectId}_${triggerId}_Trigger")
            uuid = "${DslContext.uuidPrefix}_${model.projectId}_${triggerId}_Trigger"
            name = "$triggerName (Trigger)"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/cache/AbstractCache.java

     * implementation for the {@link #put} and {@link #getIfPresent} methods. {@link #getAllPresent} is
     * implemented in terms of {@link #getIfPresent}; {@link #putAll} is implemented in terms of {@link
     * #put}, {@link #invalidateAll(Iterable)} is implemented in terms of {@link #invalidate}. The
     * method {@link #cleanUp} is a no-op. All other methods throw an {@link
     * UnsupportedOperationException}.
     *
     * @author Charles Fry
     * @since 10.0
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        UNKNOWN_ORDER
      }
    
      @SuppressWarnings("unchecked") // TODO(cpovirk): Stop using arrays.
      AbstractIteratorTester(
          int steps,
          Iterable<E> elementsToInsertIterable,
          Iterable<? extends IteratorFeature> features,
          Iterable<E> expectedElements,
          KnownOrder knownOrder,
          int startIndex) {
        // periodically we should manually try (steps * 3 / 2) here; all tests but
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 20.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        @Override
        public SampleElements<String> sampleValues() {
          return new SampleElements<>("january", "february", "march", "april", "may");
        }
    
        @Override
        public Collection<String> createCollection(Iterable<? extends String> values) {
          return Lists.newArrayList(values);
        }
    
        @Override
        public SampleElements<Entry<String, String>> samples() {
          return new SampleElements<>(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Sep 24 22:52:18 GMT 2025
    - 28.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ImmutableSet.java

        return fromArrayWithExpectedSize(array, expectedSize);
      }
    
      /**
       * Returns an immutable set containing each of {@code elements}, minus duplicates, in the order
       * each appears first in the source iterable. This method iterates over {@code elements} only
       * once.
       *
       * <p><b>Performance note:</b> This method will sometimes recognize that the actual copy operation
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
Back to Top