Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for comparing (0.07 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

    import org.apache.maven.project.collector.RequestPomCollectionStrategy;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import static java.util.Comparator.comparing;
    
    /**
     * Builds the {@link ProjectDependencyGraph inter-dependencies graph} between projects in the reactor.
     */
    @Named(GraphBuilder.HINT)
    @Singleton
    public class DefaultGraphBuilder implements GraphBuilder {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    import static java.util.Collections.singleton;
    import static java.util.Comparator.comparing;
    import static java.util.Comparator.naturalOrder;
    import static java.util.Comparator.reverseOrder;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.testing.EqualsTester;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                return compile(binding).get();
            }
    
            private static Comparator<Binding<?>> getBindingComparator() {
                Comparator<Binding<?>> comparing = Comparator.comparing(Binding::getPriority);
                return comparing.reversed();
            }
    
            private <T> boolean isPlexusBean(BeanEntry<Annotation, T> entry) {
                try {
                    if ("org.eclipse.sisu.inject.LazyBeanEntry"
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Ordering.java

       * then comparing those results using {@code this}. For example, to compare objects by their
       * string forms, in a case-insensitive manner, use:
       *
       * <pre>{@code
       * Ordering.from(String.CASE_INSENSITIVE_ORDER)
       *     .onResultOf(Functions.toStringFunction())
       * }</pre>
       *
       * <p><b>Java 8+ users:</b> Use {@code Comparator.comparing(function, thisComparator)} instead
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Ordering.java

       * then comparing those results using {@code this}. For example, to compare objects by their
       * string forms, in a case-insensitive manner, use:
       *
       * <pre>{@code
       * Ordering.from(String.CASE_INSENSITIVE_ORDER)
       *     .onResultOf(Functions.toStringFunction())
       * }</pre>
       *
       * <p><b>Java 8+ users:</b> Use {@code Comparator.comparing(function, thisComparator)} instead
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/security/http-basic-auth.md

    But then the attackers try with username `stanleyjobsox` and password `love123`.
    
    And your application code does something like:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:01:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

    import org.apache.maven.project.MavenProject;
    import org.codehaus.plexus.PlexusContainer;
    import org.eclipse.aether.DefaultRepositoryCache;
    import org.eclipse.aether.transfer.TransferListener;
    
    import static java.util.Comparator.comparing;
    import static org.apache.maven.cling.invoker.Utils.toProperties;
    
    public abstract class DefaultMavenInvoker<
                    O extends MavenOptions,
                    R extends MavenInvokerRequest<O>,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            return lifecyclesMap.values().stream()
                    .peek(l -> Objects.requireNonNull(l.getId(), "A lifecycle must have an id."))
                    .sorted(Comparator.comparing(Lifecycle::getId, comparator))
                    .collect(Collectors.toList());
        }
    
        private Map<String, Lifecycle> lookupLifecycles() {
            // TODO: Remove the following code when maven-compat is gone
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

        return "z";
      }
    
      @Override
      protected String getValueNotInPopulatedMap() throws UnsupportedOperationException {
        return "26";
      }
    
      /** Helper assertion comparing two maps */
      private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) {
        assertEquals(expected, map);
        assertEquals(expected.hashCode(), map.hashCode());
        assertEquals(expected.entrySet(), map.entrySet());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        return "z";
      }
    
      @Override
      protected String getValueNotInPopulatedMap() throws UnsupportedOperationException {
        return "26";
      }
    
      /** Helper assertion comparing two maps */
      private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) {
        assertEquals(expected, map);
        assertEquals(expected.hashCode(), map.hashCode());
        assertEquals(expected.entrySet(), map.entrySet());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top