- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 453 for Iterable (0.1 sec)
-
guava/src/com/google/common/util/concurrent/Striped.java
* @return the stripes corresponding to the objects (one per each object, derived by delegating to * {@link #get(Object)}; may contain duplicates), in an increasing index order. */ public Iterable<L> bulkGet(Iterable<? extends Object> keys) { // Initially using the list to store the keys, then reusing it to store the respective L's List<Object> result = newArrayList(keys); if (result.isEmpty()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 20.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Oct 06 13:04:03 UTC 2024 - 29.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java
return ((Multiset<E>) gen.create(duplicated)).elementSet(); } @Override public E[] createArray(int length) { return gen.createArray(length); } @Override public Iterable<E> order(List<E> insertionOrder) { return gen.order(new ArrayList<E>(new LinkedHashSet<E>(insertionOrder))); } } static class EntrySetGenerator<E> implements TestSetGenerator<Multiset.Entry<E>> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 10.4K bytes - Viewed (0) -
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
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.2K bytes - Viewed (0) -
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<>(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 28.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ClassTraversalUtil.java
* governing permissions and limitations under the License. */ package org.codelibs.core.io; import static org.codelibs.core.collection.EnumerationIterator.iterable; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.io.File; import java.util.jar.JarEntry; import java.util.jar.JarFile; import java.util.zip.ZipEntry;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
assertTrue(multiset.isEmpty()); reserializeAndAssert(multiset); } public void testCreateFromIterable() { Iterable<Integer> iterable = asList(1, 2, 2, 3, 4); ConcurrentHashMultiset<Integer> multiset = ConcurrentHashMultiset.create(iterable); assertEquals(2, multiset.count(2)); reserializeAndAssert(multiset); } public void testIdentityKeyEquality_strongKeys() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 14.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
* methods, like stream(Iterable), we have to rely on users not to call them without library * desugaring. */ @IgnoreJRERequirement public final class Streams { /** * Returns a sequential {@link Stream} of the contents of {@code iterable}, delegating to {@link * Collection#stream} if possible. */ public static <T extends @Nullable Object> Stream<T> stream(Iterable<T> iterable) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 37.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompoundOrdering.java
this.comparators = (Comparator<? super T>[]) new Comparator<?>[] {primary, secondary}; } @SuppressWarnings("unchecked") // Generic array creation CompoundOrdering(Iterable<? extends Comparator<? super T>> comparators) { this.comparators = Iterables.toArray(comparators, (Comparator<? super T>[]) new Comparator<?>[0]); } @Override public int compare(@ParametricNullness T left, @ParametricNullness T right) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 2.4K bytes - Viewed (0)