Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 570 for asList (0.05 sec)

  1. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        // Ensure that the Finalizer class has no nested classes.
        // See https://github.com/google/guava/issues/1505
        assertEquals(Collections.emptyList(), Arrays.asList(Finalizer.class.getDeclaredClasses()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/EquivalenceTester.java

       * objects in any other equivalence group added to this tester.
       */
      @CanIgnoreReturnValue
      public EquivalenceTester<T> addEquivalenceGroup(T first, T... rest) {
        addEquivalenceGroup(Lists.asList(first, rest));
        return this;
      }
    
      @CanIgnoreReturnValue
      public EquivalenceTester<T> addEquivalenceGroup(Iterable<T> group) {
        delegate.addRelatedGroup(group);
        items.addAll(ImmutableList.copyOf(group));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java

            this.versionParser = versionParser;
            return this;
        }
    
        protected ModelProcessor newModelProcessor() {
            return new DefaultModelProcessor(Arrays.asList(newModelParsers()), newModelLocator(), newModelReader());
        }
    
        protected ModelParser[] newModelParsers() {
            return new ModelParser[0];
        }
    
        protected ModelLocator newModelLocator() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

    import org.ysb33r.grolifant.api.core.jvm.ExecutionMode;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import static java.util.Arrays.asList;
    import static java.util.Collections.singletonList;
    import static java.util.Collections.singletonMap;
    
    public class GradleUserManualPlugin implements Plugin<Project> {
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Mar 01 05:46:51 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        assertEquals(map.size(), entrySetToArray1.length);
        assertTrue(asList(entrySetToArray1).containsAll(entrySet));
    
        Entry<?, ?>[] entrySetToArray2 = new Entry<?, ?>[map.size() + 2];
        entrySetToArray2[map.size()] = mapEntry("foo", 1);
        assertSame(entrySetToArray2, entrySet.toArray(entrySetToArray2));
        assertNull(entrySetToArray2[map.size()]);
        assertTrue(asList(entrySetToArray2).containsAll(entrySet));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/TypeResolver.java

    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static java.util.Arrays.asList;
    
    import com.google.common.base.Joiner;
    import com.google.common.base.Objects;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.Maps;
    import java.lang.reflect.GenericArrayType;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  7. docs/features/https.md

    ```java
    OkHttpClient client = new OkHttpClient.Builder()
        .connectionSpecs(Arrays.asList(ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS))
        .build();
    ```
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            session.setDependencyManager(depManager);
    
            DependencySelector depFilter = new AndDependencySelector(
                    ScopeDependencySelector.legacy(
                            null, Arrays.asList(DependencyScope.TEST.id(), DependencyScope.PROVIDED.id())),
                    OptionalDependencySelector.fromDirect(),
                    new ExclusionDependencySelector());
            session.setDependencySelector(depFilter);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

            val subprojectRoots = File("../platforms").listFiles(File::isDirectory).plus(File("../subprojects"))
            val subProjectFolders = subprojectRoots.map { it.listFiles(File::isDirectory).asList() }.flatten().filter { dir ->
                // filter out the directories that have only a `build` subdirectory - this usually happens after branch switching
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 07:02:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/FluentIterable.java

       * Stream.of(T...)}.
       *
       * @since 20.0 (since 18.0 as an overload of {@code of})
       */
      public static <E extends @Nullable Object> FluentIterable<E> from(E[] elements) {
        return from(Arrays.asList(elements));
      }
    
      /**
       * Construct a fluent iterable from another fluent iterable. This is obviously never necessary,
       * but is intended to help call out cases where one migration from {@code Iterable} to {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
Back to top