Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 199 of 199 for Comparators (0.1 seconds)

  1. android/guava/src/com/google/common/collect/ForwardingMap.java

     * equality for both keys and values. This may not be the desired behavior for map implementations
     * that use non-standard notions of key equality, such as a {@code SortedMap} whose comparator is
     * not consistent with {@code equals}.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

    import org.apache.maven.project.MavenProject;
    import org.apache.maven.toolchain.model.ToolchainModel;
    import org.eclipse.aether.DefaultRepositoryCache;
    import org.eclipse.aether.transfer.TransferListener;
    
    import static java.util.Comparator.comparing;
    
    /**
     * The Maven invoker, that expects whole Maven on classpath and invokes it.
     */
    public class MavenInvoker extends LookupInvoker<MavenContext> {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnup.goals;
    
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.Comparator;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.stream.Collectors;
    
    import eu.maveniverse.domtrip.Document;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt

         * some IBM JVMs use the "SSL_" prefix everywhere whereas Oracle JVMs mix "TLS_" and "SSL_".
         */
        internal val ORDER_BY_NAME =
          object : Comparator<String> {
            override fun compare(
              a: String,
              b: String,
            ): Int {
              var i = 4
              val limit = minOf(a.length, b.length)
              while (i < limit) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 39.9K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        entries =
            copyToList(
                getSubjectGenerator()
                    .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements()));
        sort(entries, sortedMultiset.comparator());
    
        // some tests assume SEVERAL == 3
        if (entries.size() >= 1) {
          a = Multisets.immutableEntry(entries.get(0), sortedMultiset.count(entries.get(0)));
          if (entries.size() >= 3) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 20:14:36 GMT 2024
    - 26K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        entries =
            copyToList(
                getSubjectGenerator()
                    .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements()));
        sort(entries, sortedMultiset.comparator());
    
        // some tests assume SEVERAL == 3
        if (entries.size() >= 1) {
          a = Multisets.immutableEntry(entries.get(0), sortedMultiset.count(entries.get(0)));
          if (entries.size() >= 3) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 20:14:36 GMT 2024
    - 26K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

         * the second version is the newer.
         */
        private static int compareModelVersions(String first, String second) {
            // we use a dedicated comparator because we control our model version scheme.
            String[] firstSegments = StringUtils.split(first, ".");
            String[] secondSegments = StringUtils.split(second, ".");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

    import org.eclipse.aether.DefaultRepositoryCache;
    import org.eclipse.aether.transfer.TransferListener;
    import org.slf4j.ILoggerFactory;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import static java.util.Comparator.comparing;
    import static org.apache.maven.api.Constants.MAVEN_HOME;
    import static org.apache.maven.api.Constants.MAVEN_INSTALLATION_CONF;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  9. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/internal/_UtilCommonKt;->hasIntersection([Ljava/lang/String;[Ljava/lang/String;Ljava/util/Comparator;)Z
    HSPLokhttp3/internal/_UtilCommonKt;->indexOfFirstNonAsciiWhitespace(Ljava/lang/String;II)I
    HSPLokhttp3/internal/_UtilCommonKt;->indexOfLastNonAsciiWhitespace(Ljava/lang/String;II)I
    HSPLokhttp3/internal/_UtilCommonKt;->intersect([Ljava/lang/String;[Ljava/lang/String;Ljava/util/Comparator;)[Ljava/lang/String;
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Dec 30 23:28:56 GMT 2024
    - 127.9K bytes
    - Click Count (1)
Back to Top