Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 623 for iterables (0.05 seconds)

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

     * always very useful information.
     *
     * <p>On the other hand, a <i>parameter</i> type of {@link ImmutableList} is generally a nuisance to
     * callers. Instead, accept {@link Iterable} and have your method or constructor body pass it to the
     * appropriate {@code copyOf} method itself.
     *
     * <p>Expressing the immutability guarantee directly in the type that user code references is a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java

      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
      /** Returns the elements sorted in natural order. */
      @Override
      public Iterable<Entry<AnEnum, String>> order(List<Entry<AnEnum, String>> insertionOrder) {
        return orderEntriesByKey(insertionOrder);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java

        return new ArrayList<>(allSampleElements.subList(0, howMany));
      }
    
      @Override
      public CollectionSize getCollectionSize() {
        return collectionSize;
      }
    
      @Override
      public Iterable<E> order(List<E> insertionOrder) {
        return generator.order(insertionOrder);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ForwardingSortedSetMultimap.java

      }
    
      @Override
      public SortedSet<V> removeAll(@Nullable Object key) {
        return delegate().removeAll(key);
      }
    
      @Override
      public SortedSet<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
        return delegate().replaceValues(key, values);
      }
    
      @Override
      public @Nullable Comparator<? super V> valueComparator() {
        return delegate().valueComparator();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                                || type.getName().equals("java.util.Collection")
                                || type.getName().equals("java.util.Set")
                                || type.getName().equals("java.util.Iterable")) {
                            type = type.getTypeArgs().get(0);
                            multiValued = true;
                        }
                        classDoc.addClassBlock(new BlockDoc(methodDoc, property, type, multiValued));
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.2K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java

          return SerializableTester.reserialize(gen.create(elements));
        }
    
        @Override
        public E[] createArray(int length) {
          return gen.createArray(length);
        }
    
        @Override
        public Iterable<E> order(List<E> insertionOrder) {
          return gen.order(insertionOrder);
        }
      }
    
      private static Set<Feature<?>> computeReserializedCollectionFeatures(Set<Feature<?>> features) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

       * com.google.common.collect.testing.features.CollectionFeature#KNOWN_ORDER}, the tests will look
       * only at the returned contents without regard for order.
       */
      Iterable<E> order(List<E> insertionOrder);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/CollectSpliterators.java

                    | Spliterator.ORDERED
                    | Spliterator.SORTED);
          }
        }
        return new Splitr();
      }
    
      /**
       * Returns a {@code Spliterator} that iterates over the elements of the spliterators generated by
       * applying {@code function} to the elements of {@code fromSpliterator}.
       */
      static <InElementT extends @Nullable Object, OutElementT extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

     */
    @GwtCompatible
    @NullMarked
    public class EmptyImmutableTableTest extends AbstractImmutableTableTest {
      private static final ImmutableTable<Character, Integer, String> INSTANCE = ImmutableTable.of();
    
      @Override
      Iterable<ImmutableTable<Character, Integer, String>> getTestInstances() {
        return ImmutableSet.of(INSTANCE);
      }
    
      public void testHashCode() {
        assertEquals(0, INSTANCE.hashCode());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  10. guava/src/com/google/common/cache/RemovalCause.java

     * @since 10.0
     */
    @GwtCompatible
    public enum RemovalCause {
      /**
       * The entry was manually removed by the user. This can result from the user invoking {@link
       * Cache#invalidate}, {@link Cache#invalidateAll(Iterable)}, {@link Cache#invalidateAll()}, {@link
       * Map#remove}, {@link ConcurrentMap#remove}, or {@link Iterator#remove}.
       */
      EXPLICIT {
        @Override
        boolean wasEvicted() {
          return false;
        }
      },
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.7K bytes
    - Click Count (0)
Back to Top