Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,182 for Lists (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java

      }
    
      public void testToArrayImpl2() {
        doTestToArrayImpl2(Lists.<Integer>newArrayList(), new Integer[0], false);
        doTestToArrayImpl2(Lists.<Integer>newArrayList(), new Integer[1], true);
    
        doTestToArrayImpl2(Lists.newArrayList(1), new Integer[0], false);
        doTestToArrayImpl2(Lists.newArrayList(1), new Integer[1], true);
        doTestToArrayImpl2(Lists.newArrayList(1), new Integer[] {2, 3}, true);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

        List<@Nullable Integer> list1 = Lists.newArrayList();
        List<@Nullable Integer> list2 = Lists.newArrayList(1);
        List<@Nullable Integer> list3 = Lists.newArrayList(1, 1);
        List<@Nullable Integer> list4 = Lists.newArrayList(1, 2);
        List<@Nullable Integer> list5 = Lists.newArrayList(1, null, 2);
        List<@Nullable Integer> list6 = Lists.newArrayList(2);
        List<@Nullable Integer> list7 = Lists.newArrayList(nullInt);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/outside/NeitherAbstractNorAnnotatedInSuperclassTest.java

    import com.google.common.collect.Lists;
    import com.google.common.eventbus.Subscribe;
    import com.google.common.eventbus.outside.NeitherAbstractNorAnnotatedInSuperclassTest.SubClass;
    import java.util.List;
    
    public class NeitherAbstractNorAnnotatedInSuperclassTest extends AbstractEventBusTest<SubClass> {
      static class SuperClass {
        final List<Object> neitherOverriddenNorAnnotatedEvents = Lists.newArrayList();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> filtered = Iterators.filter(unfiltered, Predicates.alwaysFalse());
        List<String> expected = Collections.emptyList();
        List<String> actual = Lists.newArrayList(filtered);
        assertEquals(expected, actual);
      }
    
      public void testFilterMatchAll() {
        Iterator<String> unfiltered = Lists.newArrayList("foo", "bar").iterator();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
  5. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/PropertyReportTaskIntegrationTest.groovy

            outputDoesNotContain 'DEFAULT_BUILD_DIR_NAME'
        }
    
        def "lists selected project property"() {
            when:
            run "properties", "-q", "--property=version"
            then:
            outputContains 'version: 1.2.3'
            outputDoesNotContain 'org.gradle.api'
        }
    
        def "lists unavailable project property"() {
            when:
            run "properties", "-q", "--property=nonexistent"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 15 16:48:28 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingList.java

        return Lists.equalsImpl(this, object);
      }
    
      /**
       * A sensible definition of {@link #hashCode} in terms of {@link #iterator}. If you override
       * {@link #iterator}, you may wish to override {@link #hashCode} to forward to this
       * implementation.
       *
       * @since 7.0
       */
      protected int standardHashCode() {
        return Lists.hashCodeImpl(this);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/values_test.go

    				},
    			}, &multiKeyMapListSchema),
    			equal: false,
    		},
    		{
    			name:  "set lists are equal regardless of order",
    			lhs:   UnstructuredToVal([]interface{}{"a", "b"}, &setListSchema),
    			rhs:   UnstructuredToVal([]interface{}{"b", "a"}, &setListSchema),
    			equal: true,
    		},
    		{
    			name:  "set lists are not equal if contents differ",
    			lhs:   UnstructuredToVal([]interface{}{"a", "b"}, &setListSchema),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishPomCustomizationKotlinDslIntegTest.groovy

                                        subscribe.set("users-subscribe@lists.example.org")
                                        unsubscribe.set("users-unsubscribe@lists.example.org")
                                        post.set("users@lists.example.org")
                                        archive.set("http://lists.example.org/users/")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

    package com.google.common.collect.testing;
    
    import static com.google.common.collect.Lists.newArrayList;
    import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE;
    import static java.util.Collections.emptyList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Lists;
    import java.util.Iterator;
    import java.util.List;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/MessageBuilderHelper.java

            return pathTo(edge, true);
        }
    
        static Collection<String> pathTo(EdgeState edge, boolean includeLast) {
            List<List<EdgeState>> acc = Lists.newArrayListWithExpectedSize(1);
            pathTo(edge, new ArrayList<>(), acc, new HashSet<>());
            List<String> result = Lists.newArrayListWithCapacity(acc.size());
            for (List<EdgeState> path : acc) {
                EdgeState target = Iterators.getLast(path.iterator());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top