Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Equals (0.18 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            /*
             * if ( version == null || !version.equals( parent.getVersion() ) ) { return null; }
             */
    
            return new ModelData(candidateSource, candidateModel);
        }
    
        private boolean rawChildVersionReferencesParent(String rawChildModelVersion) {
            return rawChildModelVersion.equals("${pom.version}")
                    || rawChildModelVersion.equals("${project.version}")
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

          }
          return false;
        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj instanceof PowerSet) {
            PowerSet<?> that = (PowerSet<?>) obj;
            return inputSet.keySet().equals(that.inputSet.keySet());
          }
          return super.equals(obj);
        }
    
        @Override
        public int hashCode() {
          /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

     * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting map will
     * not correctly obey its specification.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     * @since 2.0 (implements {@code NavigableMap} since 12.0)
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                validateStringNotEmpty(
                        "parent.artifactId", problems, Severity.FATAL, Version.BASE, parent.getArtifactId(), parent);
    
                if (equals(parent.getGroupId(), m.getGroupId()) && equals(parent.getArtifactId(), m.getArtifactId())) {
                    addViolation(
                            problems,
                            Severity.FATAL,
                            Version.BASE,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multimaps.java

       * #newListMultimap}, {@link #newSetMultimap} or {@link #newSortedSetMultimap} instead, to avoid
       * very surprising behavior from {@link Multimap#equals}.
       *
       * <p>The {@code factory}-generated and {@code map} classes determine the multimap iteration
       * order. They also specify the behavior of the {@code equals}, {@code hashCode}, and {@code
       * toString} methods for the multimap and its returned views. However, the multimap's {@code get}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

            Iterators.removeIf(
                list.iterator(),
                new Predicate<String>() {
                  @Override
                  public boolean apply(String s) {
                    return s.equals("b") || s.equals("d") || s.equals("f");
                  }
                }));
        assertEquals(newArrayList("a", "c", "e"), list);
        assertFalse(
            Iterators.removeIf(
                list.iterator(),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                            artifact.getId(), "Error resolving project artifact: " + e.getMessage(), e);
                }
    
                Path pomFile = pomArtifact.getPath();
    
                if (!artifact.isResolved() && "pom".equals(artifact.getType())) {
                    artifact.selectVersion(pomArtifact.getVersion());
                    artifact.setFile(pomFile.toFile());
                    artifact.setResolved(true);
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

          }
        }
        return result;
      }
    
      /**
       * Determines whether two iterators contain equal elements in the same order. More specifically,
       * this method returns {@code true} if {@code iterator1} and {@code iterator2} contain the same
       * number of elements and every element of {@code iterator1} is equal to the corresponding element
       * of {@code iterator2}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top