- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 463 for iterables (0.05 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)