Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 618 for iterables (0.05 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. android/guava/src/com/google/common/graph/Traverser.java

       * @see #breadthFirst(Object)
       * @since 24.1
       */
      public final Iterable<N> breadthFirst(Iterable<? extends N> startNodes) {
        ImmutableSet<N> validated = validate(startNodes);
        return () -> newTraversal().breadthFirst(validated.iterator());
      }
    
      /**
       * Returns an unmodifiable {@code Iterable} over the nodes reachable from {@code startNode}, in
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  6. 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)
  7. 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.4K bytes
    - Click Count (0)
  8. 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)
  9. android/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.2K bytes
    - Click Count (0)
  10. 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)
Back to Top