Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 1,087 for Equals (0.05 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomAttributeIterator.java

            this.parent = parent;
            this.node = (XmlNode) parent.getNode();
    
            this.attributes = this.node.attributes().entrySet().stream()
                    .filter(a -> a.getKey().equals(qname.getName()) || "*".equals(qname.getName()))
                    .collect(Collectors.toList());
        }
    
        @Override
        public NodePointer getNodePointer() {
            if (position == 0) {
                setPosition(1);
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

                    nextColor = matcher.group(1);
                    if (ANSI_RESET.equals(nextColor)) {
                        // last ANSI escape code is reset: no next color
                        nextColor = "";
                    }
                }
    
                // effective line, with indent and reset if end is colored
                line = indent + line + ("".equals(nextColor) ? "" : ANSI_RESET);
    
                if ((i == lines.length - 1)
    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. guava/src/com/google/common/base/CaseFormat.java

          return targetFormat.to(sourceFormat, s);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof StringConverter) {
            StringConverter that = (StringConverter) obj;
            return sourceFormat.equals(that.sourceFormat) && targetFormat.equals(that.targetFormat);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Dec 03 18:46:33 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Interners.java

        @Override
        public int hashCode() {
          return interner.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object other) {
          if (other instanceof InternerFunction) {
            InternerFunction<?> that = (InternerFunction<?>) other;
            return interner.equals(that.interner);
          }
    
          return false;
        }
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 6K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                        .filter(a -> phase.equals(a.v3Phase()))
                        .findFirst()
                        .map(Lifecycle.Alias::v4Phase)
                        .orElse(phase);
            }
    
            private String getResolvedPhase(String phase) {
                return lifecycles.stream()
                        .flatMap(l -> l.aliases().stream())
                        .filter(a -> phase.equals(a.v3Phase()))
                        .findFirst()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code SetMultimap} instances are equal if, for each key, they contain the same values.
       * Equality does not depend on the ordering of keys or values.
       */
      @Override
      public boolean equals(@Nullable Object object) {
        return super.equals(object);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Mar 20 13:05:10 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapEqualsTester.java

    import com.google.common.collect.SetMultimap;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.testing.EqualsTester;
    import org.junit.Ignore;
    
    /**
     * Testers for {@link SetMultimap#equals(Object)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/reflect/TypeParameter.java

      }
    
      @Override
      public final int hashCode() {
        return typeVariable.hashCode();
      }
    
      @Override
      public final boolean equals(@Nullable Object o) {
        if (o instanceof TypeParameter) {
          TypeParameter<?> that = (TypeParameter<?>) o;
          return typeVariable.equals(that.typeVariable);
        }
        return false;
      }
    
      @Override
      public String toString() {
        return typeVariable.toString();
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/reflect/Parameter.java

        A[] cast = (A[]) result;
        return cast;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj instanceof Parameter) {
          Parameter that = (Parameter) obj;
          return position == that.position && declaration.equals(that.declaration);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return position;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            boolean isMultiModule = false;
            boolean validArtifactId = Objects.equals(a1, a2);
            for (SourceRoot sr : getSourceRoots(project)) {
                Optional<String> moduleName = sr.module();
                if (moduleName.isPresent()) {
                    isMultiModule = true;
                    if (moduleName.get().equals(a2)) {
                        validArtifactId = true;
                        break;
                    }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 16:17:01 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top