Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 46 for toSet (0.07 seconds)

  1. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

            .build()
        val acceptedIssuers = handshakeCertificates.trustManager.acceptedIssuers
        val names =
          acceptedIssuers
            .map { it.subjectDN.name }
            .toSet()
    
        // It's safe to assume all platforms will have a major Internet certificate issuer.
        val majorIssuers =
          listOf(
            "DigiCert",
            "Let's Encrypt",
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 08:16:15 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

                                        value
                                            .map {
                                                Os.valueOf(it.uppercase(Locale.US))
                                            }.toSet()
                                }.toMap()
                        PerformanceTestGroup(testProject, coverage)
                    }
                PerformanceTestConfiguration(testId, groups)
            }
        }
    }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 29 01:37:22 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/reflect/ClassPath.java

      /**
       * Returns all classes loadable from the current class path.
       *
       * @since 16.0
       */
      public ImmutableSet<ClassInfo> getAllClasses() {
        return FluentIterable.from(resources).filter(ClassInfo.class).toSet();
      }
    
      /**
       * Returns all top level classes loadable from the current class path. Note that "top-level-ness"
       * is determined heuristically by class name (see {@link ClassInfo#isTopLevel}).
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testToSet() {
        assertThat(fluent(1, 2, 3, 4).toSet()).containsExactly(1, 2, 3, 4).inOrder();
      }
    
      public void testToSet_removeDuplicates() {
        assertThat(fluent(1, 2, 1, 2).toSet()).containsExactly(1, 2).inOrder();
      }
    
      public void testToSet_empty() {
        assertTrue(fluent().toSet().isEmpty());
      }
    
      public void testToSortedSet() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/reflect/TypeToken.java

            return (types =
                FluentIterable.from(collectedTypes)
                    .filter(TypeFilter.IGNORE_TYPE_VARIABLE_OR_WILDCARD)
                    .toSet());
          } else {
            return filteredTypes;
          }
        }
    
        /** Returns the raw types of the types in this set, in the same order. */
        public Set<Class<? super T>> rawTypes() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.8K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java

            // in first step get parameter names of current goal
            Set<String> parametersNamesGoal = mojoDescriptor.getParameters().stream()
                    .flatMap(this::getParameterNames)
                    .collect(Collectors.toSet());
    
            Set<String> unknownParameters = getUnknownParameters(mojoExecution, parametersNamesGoal);
    
            if (unknownParameters.isEmpty()) {
                return;
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/PruneChangelogsTask.java

        }
    
        @TaskAction
        public void executeTask() {
            findAndDeleteFiles(
                this.gitWrapper,
                files -> files.stream().filter(each -> each.delete() == false).collect(Collectors.toSet()),
                QualifiedVersion.of(VersionProperties.getElasticsearch()),
                this.getChangelogs().getFiles(),
                this.dryRun,
                this.rootDir
            );
        }
    
        @VisibleForTesting
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 24 10:57:02 GMT 2021
    - 6.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/FluentIterable.java

       * @since 14.0 (since 12.0 as {@code toImmutableSet()}).
       */
      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
      public final ImmutableSet<@NonNull E> toSet() {
        return ImmutableSet.copyOf((Iterable<@NonNull E>) getDelegate());
      }
    
      /**
       * Returns an {@code ImmutableSortedSet} containing all of the elements from this {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/FluentIterable.java

       * @since 14.0 (since 12.0 as {@code toImmutableSet()}).
       */
      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
      public final ImmutableSet<@NonNull E> toSet() {
        return ImmutableSet.copyOf((Iterable<@NonNull E>) getDelegate());
      }
    
      /**
       * Returns an {@code ImmutableSortedSet} containing all of the elements from this {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java

                .map(File::getName)
                .map(name -> name.substring(0, name.length() - 6))
                .filter(this::implementsNamingConvention)
                .collect(Collectors.toSet());
        }
    
        @TaskAction
        public void doCheck() throws IOException {
            final String problems;
    
            try (
                URLClassLoader isolatedClassLoader = new URLClassLoader(
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 17.6K bytes
    - Click Count (0)
Back to Top