- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 623 for iterables (0.06 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java
*/ protected abstract T create(UnhashableObject[] elements); @Override public UnhashableObject[] createArray(int length) { return new UnhashableObject[length]; } @Override public Iterable<UnhashableObject> order(List<UnhashableObject> insertionOrder) { return insertionOrder; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapReplaceValuesTester.java
import com.google.common.collect.ListMultimap; import com.google.common.collect.testing.features.MapFeature; import java.util.List; import org.junit.Ignore; /** * Testers for {@link ListMultimap#replaceValues(Object, Iterable)}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/TestOutputStream.java
private boolean closed; public TestOutputStream(OutputStream out, TestOption... options) throws IOException { this(out, Arrays.asList(options)); } public TestOutputStream(OutputStream out, Iterable<TestOption> options) throws IOException { super(checkNotNull(out)); this.options = ImmutableSet.copyOf(options); throwIf(OPEN_THROWS); } public boolean closed() { return closed; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingListMultimap.java
@Override public List<V> removeAll(@Nullable Object key) { return delegate().removeAll(key); } @CanIgnoreReturnValue @Override public List<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) { return delegate().replaceValues(key, values); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.1K bytes - Click Count (0) -
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) -
guava-testlib/src/com/google/common/collect/testing/TestStringMapGenerator.java
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) -
android/guava-tests/test/com/google/common/base/OptionalTest.java
public void testPresentInstances_callingIteratorTwice() { List<Optional<String>> optionals = ImmutableList.of(Optional.of("a"), Optional.<String>absent(), Optional.of("c")); Iterable<String> onlyPresent = Optional.presentInstances(optionals); assertThat(onlyPresent).containsExactly("a", "c").inOrder(); assertThat(onlyPresent).containsExactly("a", "c").inOrder(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 10.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java
public SortedMultiset<E> create(Object... entries) { return ((SortedMultiset<E>) super.create(entries)).descendingMultiset(); } @Override public Iterable<E> order(List<E> insertionOrder) { return ImmutableList.copyOf(super.order(insertionOrder)).reverse(); } }) .named(parentBuilder.getName() + " descending")
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 11.9K bytes - Click Count (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;
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 9.5K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharSink.java
* writeLines(lines, System.getProperty("line.separator"))}. * * @throws IOException if an I/O error occurs while writing to this sink */ public void writeLines(Iterable<? extends CharSequence> lines) throws IOException { writeLines(lines, System.getProperty("line.separator")); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 6.7K bytes - Click Count (0)