Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 453 for Iterable$ (0.11 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

            format(nodes as List)
        }
    
        def formatTree(Node... nodes) {
            formatTree(nodes as List)
        }
    
        def formatTree(Iterable<? extends Node> nodes) {
            format(nodes, true)
        }
    
        def format(Iterable<? extends Node> nodes, boolean prettyPrint = false) {
            StringBuilder builder = new StringBuilder()
            nodes.each { node ->
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringListMultimapGenerator.java

      }
    
      @Override
      public SampleElements<String> sampleValues() {
        return new SampleElements<>("January", "February", "March", "April", "May");
      }
    
      @Override
      public Collection<String> createCollection(Iterable<? extends String> values) {
        return copyToList(values);
      }
    
      @Override
      public final ListMultimap<String, String> create(Object... entries) {
        @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

      }
    
      @Override
      public SampleElements<String> sampleValues() {
        return new SampleElements<>("January", "February", "March", "April", "May");
      }
    
      @Override
      public Collection<String> createCollection(Iterable<? extends String> values) {
        return copyToSet(values);
      }
    
      @Override
      public final SetMultimap<String, String> create(Object... entries) {
        @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. 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"));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. 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.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ArrayTable.java

       */
      public static <R, C, V> ArrayTable<R, C, V> create(
          Iterable<? extends R> rowKeys, Iterable<? extends C> columnKeys) {
        return new ArrayTable<>(rowKeys, columnKeys);
      }
    
      /*
       * TODO(jlevy): Add factory methods taking an Enum class, instead of an
       * iterable, to specify the allowed row keys and/or column keys. Note that
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * Tests for {@link Multimap#replaceValues(Object, Iterable)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

      // Shouldn't be mistaken as Foo's test
      static class Foo2Test {
        @SuppressWarnings("unused") // accessed reflectively
        public void testPublic() {}
      }
    
      private List<Class<?>> findClassesToTest(
          Iterable<? extends Class<?>> classes, String... explicitTestNames) {
        return sanityTests.findClassesToTest(classes, Arrays.asList(explicitTestNames));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 21:37:55 UTC 2019
    - 5.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/ClassIteratorTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test(expected = ClIllegalArgumentException.class)
        public void testInterface() throws Exception {
            new ClassIterator(Iterable.class);
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/TypeResolverTest.java

      }
    
      public <K, V> void testWhere_actualArgHasWildcard() {
        TypeResolver resolver =
            new TypeResolver()
                .where(
                    new TypeCapture<Iterable<Map<?, V>>>() {}.capture(),
                    new TypeCapture<Iterable<Map<String, Integer>>>() {}.capture());
        assertEquals(
            new TypeCapture<K>() {}.capture(), resolver.resolveType(new TypeCapture<K>() {}.capture()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top