Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,176 for asdict (0.15 sec)

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

        holder.string = "two";
        assertEquals(Arrays.asList(1), builder.build().get("one"));
      }
    
      public void testBuilderPutAllIterable() {
        ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder();
        builder.putAll("foo", Arrays.asList(1, 2, 3));
        builder.putAll("bar", Arrays.asList(4, 5));
        builder.putAll("foo", Arrays.asList(6, 7));
        Multimap<String, Integer> multimap = builder.build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java

            return new DefaultPhase(name, Collections.emptyList(), asList(link1, link2), asList(phases));
        }
    
        static Lifecycle.Phase phase(
                String name, Lifecycle.Link link1, Lifecycle.Link link2, Lifecycle.Link link3, Lifecycle.Phase... phases) {
            return new DefaultPhase(name, Collections.emptyList(), asList(link1, link2, link3), asList(phases));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java

      public void testReplaceValuesWithNullValue() {
        List<V> values = asList(v0(), null, v3());
        multimap().replaceValues(k0(), values);
        assertGet(k0(), values);
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_KEYS})
      public void testReplaceValuesWithNullKey() {
        List<V> values = asList(v0(), v2(), v3());
        multimap().replaceValues(null, values);
        assertGet(null, values);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        FluentIterable<Integer> result =
            FluentIterable.<Integer>from(asList(1, 2, 3)).append(Lists.newArrayList(4, 5, 6));
        assertEquals(asList(1, 2, 3, 4, 5, 6), Lists.newArrayList(result));
        assertEquals("[1, 2, 3, 4, 5, 6]", result.toString());
    
        result = FluentIterable.<Integer>from(asList(1, 2, 3)).append(4, 5, 6);
        assertEquals(asList(1, 2, 3, 4, 5, 6), Lists.newArrayList(result));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .addValue("")
                .addValue(null)
                .add(SHORT_NAME, Arrays.asList("A"))
                .add(LONG_NAME, Arrays.asList("B"))
                .add(SHORT_NAME, Arrays.asList())
                .add(LONG_NAME, Arrays.asList())
                .addValue(Arrays.asList("C"))
                .addValue(Arrays.asList())
                .add(SHORT_NAME, Collections.singletonMap("k1", "v1"))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

        protected List<String> create(String[] elements) {
          return ImmutableList.<String>builder().addAll(asList(elements)).build();
        }
      }
    
      public static class BuilderReversedListGenerator extends TestStringListGenerator {
        @Override
        protected List<String> create(String[] elements) {
          List<String> list = asList(elements);
          Collections.reverse(list);
          return ImmutableList.copyOf(list).reverse();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .addValue("")
                .addValue(null)
                .add(SHORT_NAME, Arrays.asList("A"))
                .add(LONG_NAME, Arrays.asList("B"))
                .add(SHORT_NAME, Arrays.asList())
                .add(LONG_NAME, Arrays.asList())
                .addValue(Arrays.asList("C"))
                .addValue(Arrays.asList())
                .add(SHORT_NAME, Collections.singletonMap("k1", "v1"))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        List<Float> floats = Arrays.asList((float) 0, (float) 1, (float) 2);
        List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2);
        List<Double> doubles = Arrays.asList((double) 0, (double) 1, (double) 2);
    
        assertThat(Doubles.toArray(bytes)).isEqualTo(array);
        assertThat(Doubles.toArray(shorts)).isEqualTo(array);
        assertThat(Doubles.toArray(ints)).isEqualTo(array);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

    public class MapsMemoryBenchmark {
      static final Map<String, MapsImplEnum> mapEnums =
          uniqueIndex(
              Iterables.<MapsImplEnum>concat(
                  asList(MapImpl.values()), asList(SortedMapImpl.values()), asList(BiMapImpl.values())),
              toStringFunction());
    
      @Param({
        "HashMapImpl",
        "LinkedHashMapImpl",
        "ConcurrentHashMapImpl",
        "CompactHashMapImpl",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

        assertEqualIgnoringOrder(asList(expected), asList(actual));
      }
    
      private void expectArrayContentsInOrder(List<E> expected, Object[] actual) {
        assertEquals("toArray() ordered contents: ", expected, asList(actual));
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testToArray_isPlainObjectArray()} so that tests
       * of {@link Arrays#asList(Object[])} can suppress it with {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top