Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 570 for asList (0.09 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/DefaultType.java

            this.extension = requireNonNull(extension, "extension");
            this.classifier = classifier;
            this.includesDependencies = includesDependencies;
            this.pathTypes = Collections.unmodifiableSet(new HashSet<>(Arrays.asList(pathTypes)));
    
            Map<String, String> properties = new HashMap<>();
            properties.put(ArtifactProperties.TYPE, id);
            properties.put(ArtifactProperties.LANGUAGE, language.id());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            req3.setArtifact(new DefaultArtifact("ut.simple:artifact:zip:classifier:1.0"));
            req3.addRepository(newTestRepository());
    
            List<ArtifactRequest> requests = Arrays.asList(req1, req2, req3);
    
            List<ArtifactResult> results = system.resolveArtifacts(session, requests);
    
            assertEquals(3, results.size());
            checkArtifactResult(results.get(0), "artifact-1.0.jar");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

    import static com.google.common.collect.Sets.newHashSet;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    import static java.util.Collections.singletonMap;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/Types.java

        public boolean equals(@CheckForNull Object obj) {
          if (obj instanceof WildcardType) {
            WildcardType that = (WildcardType) obj;
            return lowerBounds.equals(Arrays.asList(that.getLowerBounds()))
                && upperBounds.equals(Arrays.asList(that.getUpperBounds()));
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return lowerBounds.hashCode() ^ upperBounds.hashCode();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        Type[] typeArgs = ((ParameterizedType) fieldType.getType()).getActualTypeArguments();
        assertThat(typeArgs).asList().hasSize(1);
        TypeVariable<?> captured = (TypeVariable<?>) typeArgs[0];
        assertThat(captured.getBounds()).asList().contains(Number.class);
        assertThat(captured.getBounds())
            .asList()
            .containsNoneOf(Object.class, new TypeToken<Iterable<Number>>() {}.getType());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            repository.setUrl("file://" + repoDir.toURI().getPath());
            repository.setReleases(policy);
            repository.setSnapshots(policy);
    
            return Arrays.asList(repositorySystem.buildArtifactRepository(repository));
        }
    
        protected ArtifactRepository getLocalRepository() throws Exception {
            File repoDir = new File(getBasedir(), "target/local-repo").getAbsoluteFile();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        TypeToken<ImmutableList<Integer>[]> type = new TypeToken<ImmutableList<Integer>[]>() {};
        map.putInstance(type, array);
        assertEquals(1, map.size());
        assertThat(map.getInstance(type)).asList().containsExactly(array[0]);
      }
    
      public void testWildcardType() {
        TypeToken<ImmutableList<?>> type = new TypeToken<ImmutableList<?>>() {};
        map.putInstance(type, ImmutableList.of(1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/net/MediaTypeTest.java

    import static java.lang.reflect.Modifier.isStatic;
    import static java.nio.charset.StandardCharsets.UTF_16;
    import static java.nio.charset.StandardCharsets.UTF_8;
    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.base.Function;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt

            newKeyManager(
              null,
              serverCert,
              serverIntermediateCa.certificate,
            )
          val trustManager =
            newTrustManager(
              null,
              Arrays.asList(serverRootCa.certificate, clientRootCa.certificate),
              emptyList(),
            )
          val sslContext = SSLContext.getInstance("TLS")
          sslContext.init(
            arrayOf<KeyManager>(keyManager),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

     */
    @Deprecated
    public abstract class AbstractStringBasedModelInterpolator extends AbstractLogEnabled
            implements ModelInterpolator, Initializable {
    
        private static final List<String> PROJECT_PREFIXES = Arrays.asList("pom.", "project.");
    
        private static final List<String> TRANSLATED_PATH_EXPRESSIONS;
    
        static {
            List<String> translatedPrefixes = new ArrayList<>();
    
            // MNG-1927, MNG-2124, MNG-3355:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top