Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,525 for Equals (0.12 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

                                context, entry.getValue());
                        return gav != null
                                && Objects.equals(gav.groupId(), groupId)
                                && Objects.equals(gav.artifactId(), artifactId)
                                && (version == null || Objects.equals(gav.version(), version));
                    })
                    .findFirst()
                    .map(Map.Entry::getKey)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  2. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

            val parts = header.split(':', limit = 2)
            if ("Content-Type".equals(parts[0], ignoreCase = true)) {
              return@let parts[1].trim()
            }
          }
          return@let null
        } ?: "application/x-www-form-urlencoded"
    
      return mimeType.toMediaTypeOrNull()
    }
    
    private fun isSpecialHeader(s: String): Boolean = s.equals("Content-Type", ignoreCase = true)
    
    fun Main.commonRun() {
      client = createClient()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/ValueGraph.java

       * the same structural relationships as those in this graph.
       *
       * <p>Thus, two value graphs A and B are equal if <b>all</b> of the following are true:
       *
       * <ul>
       *   <li>A and B have equal {@link #isDirected() directedness}.
       *   <li>A and B have equal {@link #nodes() node sets}.
       *   <li>A and B have equal {@link #edges() edge sets}.
       *   <li>The {@link #edgeValue(N, N) value} of a given edge is the same in both A and B.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java

            @Override
            public boolean equals(Object obj) {
                if (this == obj) {
                    return true;
                }
    
                if (obj instanceof CacheKey that) {
                    return Objects.equals(this.artifactId, that.artifactId)
                            && Objects.equals(this.groupId, that.groupId)
                            && Objects.equals(this.version, that.version)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/ReactorModelPool.java

            @Override
            public boolean equals(Object obj) {
                if (this == obj) {
                    return true;
                }
    
                if (!(obj instanceof CacheKey)) {
                    return false;
                }
    
                CacheKey that = (CacheKey) obj;
    
                return artifactId.equals(that.artifactId) && groupId.equals(that.groupId) && version.equals(that.version);
            }
    
            @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingMap.java

       */
      protected boolean standardIsEmpty() {
        return !entrySet().iterator().hasNext();
      }
    
      /**
       * A sensible definition of {@link #equals} in terms of the {@code equals} method of {@link
       * #entrySet}. If you override {@link #entrySet}, you may wish to override {@link #equals} to
       * forward to this implementation.
       *
       * @since 7.0
       */
      protected boolean standardEquals(@Nullable Object object) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapDifference.java

        @ParametricNullness
        V rightValue();
    
        /**
         * Two instances are considered equal if their {@link #leftValue()} values are equal and their
         * {@link #rightValue()} values are also equal.
         */
        @Override
        boolean equals(@Nullable Object other);
    
        /**
         * The hash code equals the value {@code Arrays.asList(leftValue(), rightValue()).hashCode()}.
         */
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            DefaultArtifact that = (DefaultArtifact) o;
            return Objects.equals(groupId, that.groupId)
                    && Objects.equals(artifactId, that.artifactId)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/misc/Tuple4.java

                if (other.value1 != null) {
                    return false;
                }
            } else if (!value1.equals(other.value1)) {
                return false;
            }
            if (value2 == null) {
                if (other.value2 != null) {
                    return false;
                }
            } else if (!value2.equals(other.value2)) {
                return false;
            }
            if (value3 == null) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java

                throws ArtifactMetadataRetrievalException {
            Set<Artifact> dependencies = new HashSet<>();
    
            if ("g".equals(artifact.getArtifactId())) {
                Artifact a = null;
                try {
                    a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar");
                    dependencies.add(a);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top