Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,777 for Equals (0.09 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ProfileActivationFilePathInterpolator.java

                interpolator.addValueSource(new AbstractValueSource(false) {
                    @Override
                    public Object getValue(String expression) {
                        if ("basedir".equals(expression) || "project.basedir".equals(expression)) {
                            return basedir.getAbsolutePath();
                        }
                        return null;
                    }
                });
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ComparatorOrdering.java

        return comparator.compare(a, b);
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof ComparatorOrdering) {
          ComparatorOrdering<?> that = (ComparatorOrdering<?>) object;
          return this.comparator.equals(that.comparator);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompoundOrdering.java

            return result;
          }
        }
        return 0;
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof CompoundOrdering) {
          CompoundOrdering<?> that = (CompoundOrdering<?>) object;
          return Arrays.equals(this.comparators, that.comparators);
        }
        return false;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/LegacyComparable.java

        LegacyComparable that = (LegacyComparable) object;
        return this.value.compareTo(that.value);
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof LegacyComparable) {
          LegacyComparable that = (LegacyComparable) object;
          return this.value.equals(that.value);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return value.hashCode();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

            ArtifactVersion v2 = newArtifactVersion("1.0");
            assertTrue(v1.equals(v2));
            assertEquals(v1.hashCode(), v2.hashCode());
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(newArtifactVersion("1").equals(null));
        }
    
        @Test
        void testEqualsTypeSafe() {
            assertFalse(newArtifactVersion("1").equals("non-an-artifact-version-instance"));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

                String type,
                String classifier,
                String downloadUrl,
                List<String> path) {
            StringBuilder sb = new StringBuilder(message);
    
            if (!"pom".equals(type)) {
                if (downloadUrl != null) {
                    sb.append(LS);
                    sb.append(LS);
                    sb.append(indentation);
                    sb.append("Try downloading the file manually from: ");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Converter.java

        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          if (object instanceof ConverterComposition) {
            ConverterComposition<?, ?, ?> that = (ConverterComposition<?, ?, ?>) object;
            return this.first.equals(that.first) && this.second.equals(that.second);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

            return emptyList()
          }
    
        var cookies: MutableList<Cookie>? = null
        for ((key, value) in cookieHeaders) {
          if (("Cookie".equals(key, ignoreCase = true) || "Cookie2".equals(key, ignoreCase = true)) &&
            value.isNotEmpty()
          ) {
            for (header in value) {
              if (cookies == null) cookies = mutableListOf()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:10:43 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

                    if (!MediaType.OCTET_STREAM.equals(mediaType)) {
                        return mediaType.getType() + "/" + mediaType.getSubtype();
                    }
                }
    
                final MediaType mediaType = mimeTypes.detect(is == null || is.markSupported() ? is : new BufferedInputStream(is), metadata);
                if (useFilenameOnOctetStream && MediaType.OCTET_STREAM.equals(mediaType)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/BuildModelSourceTransformerTest.java

                }
                if (!Objects.equals(m1.getClass(), m2.getClass())) {
                    return false;
                }
                BeanInfo bean = Introspector.getBeanInfo(m1.getClass());
                for (PropertyDescriptor prop : bean.getPropertyDescriptors()) {
                    if (("first".equals(prop.getName()) || "last".equals(prop.getName()))
                            && List.class.equals(prop.getReadMethod().getDeclaringClass())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top