Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,425 for equalTo (0.06 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

        }
    
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof VersionRange)) {
                return false;
            }
            VersionRange other = (VersionRange) obj;
    
            return Objects.equals(recommendedVersion, other.recommendedVersion)
                    && Objects.equals(restrictions, other.restrictions);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSortedAsList.java

        // TODO(kevinb): reconsider if it's really worth making feeble attempts at
        // sanity for inconsistent comparators.
    
        // The equals() check is needed when the comparator isn't compatible with
        // equals().
        return (index >= 0 && get(index).equals(target)) ? index : -1;
      }
    
      @GwtIncompatible // ImmutableSortedSet.indexOf
      @Override
      public int lastIndexOf(@CheckForNull Object target) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/ScmTest.java

            new Scm().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Scm().equals(null));
    
            new Scm().equals(new Scm());
        }
    
        @Test
        void testEqualsIdentity() {
            Scm thing = new Scm();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Scm().toString());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new DependencyManagement().equals(null));
    
            new DependencyManagement().equals(new DependencyManagement());
        }
    
        @Test
        void testEqualsIdentity() {
            DependencyManagement thing = new DependencyManagement();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/user/exbhv/UserBhv.java

                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        private boolean isAttribute(final String key) {
            return !NAME.equals(key) && !PASSWORD.equals(key) && !GROUPS.equals(key) && !ROLES.equals(key);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

                        methodKey.append("java.lang.Double");
                    } else if (parameterType.equals(Float.TYPE)) {
                        methodKey.append("java.lang.Float");
                    } else if (parameterType.equals(Integer.TYPE)) {
                        methodKey.append("java.lang.Integer");
                    } else if (parameterType.equals(Long.TYPE)) {
                        methodKey.append("java.lang.Long");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/InternetDomainName.java

       * version of the same domain name would not be considered equal.
       */
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
    
        if (object instanceof InternetDomainName) {
          InternetDomainName that = (InternetDomainName) object;
          return this.name.equals(that.name);
        }
    
        return false;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                                .get(stream -> stream.filter(s -> !"..".equals(s)).toArray(n -> new String[n]));
                        if (names.length < 2) {
                            continue;
                        }
                        if (logger.isDebugEnabled()) {
                            logger.debug("Loading {}", entry.getName());
                        }
                        if ("view".equals(names[0])) {
                            names[0] = themeName;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestMavenWorkspaceReader.java

            return Collections.emptyList();
        }
    
        @Override
        public Model findModel(Artifact artifact) {
            if (GROUP_ID.equals(artifact.getGroupId())
                    && ARTIFACT_ID.equals(artifact.getArtifactId())
                    && VERSION.equals(artifact.getVersion())) {
                Model m = new Model();
                m.setArtifactId(ARTIFACT_ID);
                m.setGroupId(GROUP_ID);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

        public void appendChild(Node node) {
            boolean inPara = false;
            if (node instanceof Element) {
                Element element = (Element) node;
                if (element.getTagName().equals("para") && stack.getFirst().getTagName().equals("para")) {
                    pop();
                    inPara = true;
                }
            }
            stack.getFirst().appendChild(node);
            if (inPara) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.8K bytes
    - Viewed (0)
Back to top