Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 453 for Iterable (0.07 sec)

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

      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
      public Iterable<Entry<String, String>> order(List<Entry<String, String>> insertionOrder) {
        return insertionOrder;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. 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)
  3. guava-testlib/src/com/google/common/collect/testing/TestStringMapGenerator.java

      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
      public Iterable<Entry<String, String>> order(List<Entry<String, String>> insertionOrder) {
        return insertionOrder;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. 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) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 18 22:49:45 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  5. 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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypeVisitorTest.java

        new BaseTypeVisitor() {
          @Override
          void visitGenericArrayType(GenericArrayType t) {}
        }.visit(type);
      }
    
      public <T> void testVisitParameterizedType() {
        Type type = new TypeCapture<Iterable<T>>() {}.capture();
        assertVisited(type);
        new BaseTypeVisitor() {
          @Override
          void visitParameterizedType(ParameterizedType t) {}
        }.visit(type);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

         * @since 19.0
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> putAll(Iterable<? extends Entry<? extends K, ? extends V>> entries) {
          super.putAll(entries);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> putAll(K key, Iterable<? extends V> values) {
          super.putAll(key, values);
          return this;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/CharSource.java

        public String toString() {
          return "CharSource.empty()";
        }
      }
    
      private static final class ConcatenatedCharSource extends CharSource {
    
        private final Iterable<? extends CharSource> sources;
    
        ConcatenatedCharSource(Iterable<? extends CharSource> sources) {
          this.sources = checkNotNull(sources);
        }
    
        @Override
        public Reader openStream() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/MoreObjects.java

       * throws a {@link NullPointerException}.
       *
       * <p>To find the first non-null element in an iterable, use {@code Iterables.find(iterable,
       * Predicates.notNull())}. For varargs, use {@code Iterables.find(Arrays.asList(a, b, c, ...),
       * Predicates.notNull())}, static importing as necessary.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

          return arithmetic.toString();
        }
      }
    
      private interface ParameterTypesDifferent {
        void foo(
            String s,
            Runnable r,
            Number n,
            Iterable<?> it,
            boolean b,
            Equivalence<String> eq,
            Exception e,
            InputStream in,
            Comparable<?> c,
            Ordering<Integer> ord,
            Charset charset,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top