Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 539 for AsList (0.09 sec)

  1. guava-tests/test/com/google/common/graph/StandardMutableDirectedNetworkTest.java

      public static Collection<Object[]> parameters() {
        ElementOrder<?> naturalElementOrder = ElementOrder.sorted(Ordering.natural());
    
        return Arrays.asList(
            new Object[][] {
              {false, false, ElementOrder.insertion(), ElementOrder.insertion()},
              {true, false, ElementOrder.insertion(), ElementOrder.insertion()},
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * ordering.
       *
       * @throws NullPointerException if any element is null
       */
      public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> of(E e1, E e2) {
        return copyOf(Ordering.natural(), Arrays.asList(e1, e2));
      }
    
      /**
       * Returns an immutable sorted multiset containing the given elements sorted by their natural
       * ordering.
       *
       * @throws NullPointerException if any element is null
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.google.ReflectionFreeAssertThrows.assertThrows;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.Multiset;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/RegularImmutableBiMap.java

            return hashCode;
          }
    
          @Override
          public UnmodifiableIterator<Entry<V, K>> iterator() {
            return asList().iterator();
          }
    
          @Override
          public void forEach(Consumer<? super Entry<V, K>> action) {
            asList().forEach(action);
          }
    
          @Override
          ImmutableList<Entry<V, K>> createAsList() {
            return new ImmutableAsList<Entry<V, K>>() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        val request = server.takeRequest()
        assertThat(request.body.readUtf8()).isEqualTo("request")
      }
    
      @Test
      fun testH2PriorKnowledgeServerFallback() {
        try {
          server.protocols = Arrays.asList(Protocol.H2_PRIOR_KNOWLEDGE, Protocol.HTTP_1_1)
          fail<Any>()
        } catch (expected: IllegalArgumentException) {
          assertThat(expected.message).isEqualTo(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            ProjectBuildingRequest configuration = new DefaultProjectBuildingRequest();
            configuration.setLocalRepository(getLocalRepository());
            configuration.setRemoteRepositories(Arrays.asList(new ArtifactRepository[] {}));
            configuration.setProcessPlugins(true);
            configuration.setResolveDependencies(true);
            initRepoSession(configuration);
    
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

                        PluginVersionResolutionException {
            List<TaskSegment> taskSegments =
                    lifecycleTaskSegmentCalculator.calculateTaskSegments(session, Arrays.asList(tasks));
    
            TaskSegment mergedSegment = new TaskSegment(false);
    
            for (TaskSegment taskSegment : taskSegments) {
                mergedSegment.getTasks().addAll(taskSegment.getTasks());
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

        Class<? extends Exception> exceptionType = this.exceptionType.exceptionType;
    
        for (Class<? extends Exception> exceptionClass :
            OTHER_EXCEPTION_TYPES.asList().subList(0, otherEntriesInDataStructure)) {
          getChecked(validator, immediateFuture(""), exceptionClass);
        }
    
        for (int i = 0; i < otherEntriesInDataStructure; i++) {
          ClassValue<Boolean> classValue =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 22 03:01:34 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java

      public static Collection<Object[]> parameters() {
        ElementOrder<?> naturalElementOrder = ElementOrder.sorted(Ordering.natural());
    
        return Arrays.asList(
            new Object[][] {
              {false, false, ElementOrder.insertion(), ElementOrder.insertion()},
              {true, false, ElementOrder.insertion(), ElementOrder.insertion()},
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

        String toTest =
            MoreObjects.toStringHelper(new TestClass())
                .add("field1", "This is string.")
                .add("field2", Arrays.asList("abc", "def", "ghi"))
                .add("field3", map)
                .toString();
        final String expected =
            "TestClass{"
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 21:19:18 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top