- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 626 for iterables (0.07 seconds)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslRuntimeGeneratedSources.java
import org.gradle.internal.classloader.ClasspathUtil; import org.gradle.kotlin.dsl.provider.KotlinScriptClassPathProvider; import javax.inject.Inject; import java.io.File; import static com.google.common.collect.Iterables.getOnlyElement; import static java.util.stream.Collectors.toList; /** * Extracts Kotlin DSL runtime generated sources. * * Current implementation extracts these from the wrapper's API jars.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Sun Mar 19 17:15:23 GMT 2023 - 3.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableEnumMap.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.collect.Iterables.getOnlyElement; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.7K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.testing; import static com.google.common.collect.Iterables.getOnlyElement; import static com.google.common.truth.Truth.assertThat; import static java.util.Arrays.asList; import com.google.common.annotations.GwtCompatible; import junit.framework.TestCase;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 4.5K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/TearDownStackTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.testing; import static com.google.common.collect.Iterables.getOnlyElement; import static com.google.common.truth.Truth.assertThat; import static java.util.Arrays.asList; import com.google.common.annotations.GwtCompatible; import junit.framework.TestCase;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 4.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
import static com.google.common.base.Preconditions.checkElementIndex; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.collect.Iterables.getOnlyElement; import static com.google.common.collect.Iterators.emptyIterator; import static com.google.common.collect.Iterators.peekingIterator; import static com.google.common.collect.Range.rangeLexOrdering;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 27.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
private <T> Prepender() { this(null, 0); } static <T> Iterable<String> prepend(@NotBlank String first, Iterable<String> tail) { return Iterables.concat(ImmutableList.of(first), tail); } Iterable<String> prepend(Iterable<String> tail) throws IllegalArgumentException, NullPointerException { return Iterables.concat(Collections.nCopies(times, prefix), tail); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 31.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableEnumSet.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static com.google.common.collect.Iterables.getOnlyElement; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/FluentIterableTest.java
Iterable<String> set = newHashSet("a", "b"); assertFalse(FluentIterable.from(set).contains("c")); } public void testContains_nonNullIterableYes() { Iterable<String> set = iterable("a", null, "b"); assertTrue(FluentIterable.from(set).contains("b")); } public void testContains_nonNullIterableNo() { Iterable<String> iterable = iterable("a", "b"); assertFalse(FluentIterable.from(iterable).contains("c"));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 31.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedHashMultiset.java
* * @param elements the elements that the multiset should contain */ public static <E extends @Nullable Object> LinkedHashMultiset<E> create( Iterable<? extends E> elements) { LinkedHashMultiset<E> multiset = create(Multisets.inferDistinctElements(elements)); Iterables.addAll(multiset, elements); return multiset; } private LinkedHashMultiset() { super(new LinkedHashMap<E, Count>()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 05 23:15:58 GMT 2025 - 3.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
assertEquals(0, emptyConcat.size()); } public void testConcat_infiniteIterable() throws IOException { ByteSource source = ByteSource.wrap(new byte[] {0, 1, 2, 3}); Iterable<ByteSource> cycle = Iterables.cycle(ImmutableList.of(source)); ByteSource concatenated = ByteSource.concat(cycle); byte[] expected = {0, 1, 2, 3, 0, 1, 2, 3}; assertArrayEquals(expected, concatenated.slice(0, 8).read());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 15.6K bytes - Click Count (0)