Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 1,248 for equals (0.03 sec)

  1. guava/src/com/google/common/primitives/Chars.java

       * array as the lesser. For example, {@code [] < ['a'] < ['a', 'b'] < ['b']}.
       *
       * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays
       * support only identity equality), but it is consistent with {@link Arrays#equals(char[],
       * char[])}.
       *
       * @since 2.0
       */
      public static Comparator<char[]> lexicographicalComparator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Suppliers.java

        public T get() {
          return function.apply(supplier.get());
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof SupplierComposition) {
            SupplierComposition<?, ?> that = (SupplierComposition<?, ?>) obj;
            return function.equals(that.function) && supplier.equals(that.supplier);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NbtAddressTest.java

            assertTrue(nbtAddress1.equals(nbtAddress2)); // Should be true as only address is compared
            assertFalse(nbtAddress1.equals(nbtAddress3));
            assertFalse(nbtAddress1.equals(null));
            assertFalse(nbtAddress1.equals("some string"));
        }
    
        @Test
        void testToString() {
            // Test toString method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

        }
    
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj == null || getClass() != obj.getClass()) {
                return false;
            }
            final DefaultQueryBuilder other = (DefaultQueryBuilder) obj;
            return Objects.equals(queryBuilder, other.queryBuilder);
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

         * @return the path matcher function
         */
        public BiFunction<String, Matcher, String> createPathMatcher(final Matcher matcher, final String replacement) { // for PathMapping
            if (FUNCTION_ENCODEURL_MATCHER.equals(replacement)) {
                return (u, m) -> DocumentUtil.encodeUrl(u);
            }
            if (!replacement.startsWith(GROOVY_MATCHER)) {
                return (u, m) -> m.replaceAll(replacement);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

            public Source resolve(@Nonnull String relative) {
                return new PathSource(path.resolve(relative));
            }
    
            @Override
            public boolean equals(Object o) {
                return o == this || o instanceof PathSource that && Objects.equals(path, that.path);
            }
    
            @Override
            public int hashCode() {
                return Objects.hash(path);
            }
    
            @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingMultimap.java

      }
    
      @Override
      // A forwarding implementation can't do any better than the underlying object.
      @SuppressWarnings("UndefinedEquals")
      public boolean equals(@Nullable Object object) {
        return object == this || delegate().equals(object);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ForwardingMultimap.java

      }
    
      @Override
      // A forwarding implementation can't do any better than the underlying object.
      @SuppressWarnings("UndefinedEquals")
      public boolean equals(@Nullable Object object) {
        return object == this || delegate().equals(object);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableEnumSet.java

      public boolean isEmpty() {
        return delegate.isEmpty();
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof ImmutableEnumSet) {
          object = ((ImmutableEnumSet<?>) object).delegate;
        }
        return delegate.equals(object);
      }
    
      @Override
      boolean isHashCodeFast() {
        return true;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/net/UuidUtilTest.java

        public void testCreate() {
            final String uuid = UuidUtil.create();
            System.out.println(uuid);
            final String uuid2 = UuidUtil.create();
            System.out.println(uuid2);
            assertFalse(uuid.equals(uuid2));
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.1K bytes
    - Viewed (0)
Back to top