Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 950 for lists (0.15 sec)

  1. android/guava/src/com/google/common/collect/Lists.java

       *     a provided list is null
       * @since 19.0
       */
      public static <B> List<List<B>> cartesianProduct(List<? extends List<? extends B>> lists) {
        return CartesianList.create(lists);
      }
    
      /**
       * Returns every possible list that can be formed by choosing one element from each of the given
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K 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);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. android/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);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/FluentIterableTest.java

        assertEquals(asList(1, 4, 7, 8, 9, 10), newArrayList(result));
        assertEquals("[1, 4, 7, 8, 9, 10]", result.toString());
      }
    
      public void testConcatNullPointerException() {
        List<Integer> list1 = newArrayList(1);
        List<Integer> list2 = newArrayList(4);
    
        try {
          FluentIterable.concat(list1, null, list2);
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals(asList(1, 4, 7, 8, 9, 10), newArrayList(result));
        assertEquals("[1, 4, 7, 8, 9, 10]", result.toString());
      }
    
      public void testConcatNullPointerException() {
        List<Integer> list1 = newArrayList(1);
        List<Integer> list2 = newArrayList(4);
    
        try {
          Iterables.concat(list1, null, list2);
          fail();
        } catch (NullPointerException expected) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals(asList(1, 4, 7, 8, 9, 10), newArrayList(result));
        assertEquals("[1, 4, 7, 8, 9, 10]", result.toString());
      }
    
      public void testConcatNullPointerException() {
        List<Integer> list1 = newArrayList(1);
        List<Integer> list2 = newArrayList(4);
    
        try {
          Iterables.concat(list1, null, list2);
          fail();
        } catch (NullPointerException expected) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ListsTest.java

        assertThat(Lists.cartesianProduct(list(1, 2), list(3, 4)))
            .containsExactly(list(1, 3), list(1, 4), list(2, 3), list(2, 4))
            .inOrder();
      }
    
      public void testCartesianProduct_2x2x2() {
        assertThat(Lists.cartesianProduct(list(0, 1), list(0, 1), list(0, 1)))
            .containsExactly(
                list(0, 0, 0),
                list(0, 0, 1),
                list(0, 1, 0),
                list(0, 1, 1),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertThat(Lists.cartesianProduct(list(1, 2), list(3, 4)))
            .containsExactly(list(1, 3), list(1, 4), list(2, 3), list(2, 4))
            .inOrder();
      }
    
      public void testCartesianProduct_2x2x2() {
        assertThat(Lists.cartesianProduct(list(0, 1), list(0, 1), list(0, 1)))
            .containsExactly(
                list(0, 0, 0),
                list(0, 0, 1),
                list(0, 1, 0),
                list(0, 1, 1),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  9. operator/cmd/mesh/profile-list.go

    	return &cobra.Command{
    		Use:   "list",
    		Short: "Lists available Istio configuration profiles",
    		Long:  "The list subcommand lists the available Istio configuration profiles.",
    		Args:  cobra.ExactArgs(0),
    		RunE: func(cmd *cobra.Command, args []string) error {
    			return profileList(cmd, plArgs)
    		},
    	}
    }
    
    // profileList list all the builtin profiles.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java

      }
    
      public void testToArrayImpl1() {
        doTestToArrayImpl1(Lists.<Integer>newArrayList());
        doTestToArrayImpl1(Lists.newArrayList(1));
        doTestToArrayImpl1(Lists.<@Nullable Integer>newArrayList(1, null, 3));
      }
    
      private void doTestToArrayImpl1(List<Integer> list) {
        Object[] reference = list.toArray();
        Object[] target = ObjectArrays.toArrayImpl(list);
        assertEquals(reference.getClass(), target.getClass());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.8K bytes
    - Viewed (0)
Back to top