Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 453 for Iterable (0.07 sec)

  1. 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);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.5K bytes
    - Viewed (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);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingSortedSetMultimap.java

      }
    
      @Override
      public SortedSet<V> removeAll(@CheckForNull Object key) {
        return delegate().removeAll(key);
      }
    
      @Override
      public SortedSet<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
        return delegate().replaceValues(key, values);
      }
    
      @Override
      @CheckForNull
      public Comparator<? super V> valueComparator() {
        return delegate().valueComparator();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FilteredKeySetMultimap.java

      }
    
      @Override
      public Set<V> removeAll(@CheckForNull Object key) {
        return (Set<V>) super.removeAll(key);
      }
    
      @Override
      public Set<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
        return (Set<V>) super.replaceValues(key, values);
      }
    
      @Override
      public Set<Entry<K, V>> entries() {
        return (Set<Entry<K, V>>) super.entries();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/TestInputStream.java

      private boolean closed;
    
      public TestInputStream(InputStream in, TestOption... options) throws IOException {
        this(in, Arrays.asList(options));
      }
    
      public TestInputStream(InputStream in, Iterable<TestOption> options) throws IOException {
        super(checkNotNull(in));
        this.options = ImmutableSet.copyOf(options);
        throwIf(OPEN_THROWS);
      }
    
      public boolean closed() {
        return closed;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheLoaderTest.java

                reloadCount.incrementAndGet();
                return immediateFuture(new Object());
              }
    
              @Override
              public Map<Object, Object> loadAll(Iterable<?> keys) {
                loadAllCount.incrementAndGet();
                return ImmutableMap.of();
              }
            };
    
        assertEquals(0, loadCount.get());
        assertEquals(0, reloadCount.get());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingList.java

       * wish to override {@link #addAll(int, Collection)} to forward to this implementation.
       *
       * @since 7.0
       */
      protected boolean standardAddAll(int index, Iterable<? extends E> elements) {
        return Lists.addAllImpl(this, index, elements);
      }
    
      /**
       * A sensible default implementation of {@link #indexOf}, in terms of {@link #listIterator()}. If
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractSetMultimap.java

       *
       * <p>Any duplicates in {@code values} will be stored in the multimap once.
       */
      @CanIgnoreReturnValue
      @Override
      public Set<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
        return (Set<V>) super.replaceValues(key, values);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Though the method signature doesn't say so explicitly, the returned map has {@link Set}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

        }
    
        @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) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

      private static final DenseImmutableTable<Character, Integer, String> DENSE =
          new DenseImmutableTable<>(CELLS.asList(), ROW_SPACE, COLUMN_SPACE);
    
      @Override
      Iterable<ImmutableTable<Character, Integer, String>> getTestInstances() {
        return ImmutableList.<ImmutableTable<Character, Integer, String>>of(SPARSE, DENSE);
      }
    
      public void testCellSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top