Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,228 for Equals (0.25 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEqualsTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.testing.EqualsTester;
    import org.junit.Ignore;
    
    /**
     * Tests for {@code Multiset.equals} and {@code Multiset.hashCode}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/ProjectScope.java

     * <p>
     * This extensible enum has two defined values, {@link #MAIN} and {@link #TEST},
     * but can be extended by registering a {@code org.apache.maven.api.spi.ProjectScopeProvider}.
     * <p>
     * Implementation must have {@code equals()} and {@code hashCode()} implemented, so implementations of this interface
     * can be used as keys.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    @SuppressWarnings("checkstyle:InterfaceIsType")
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Feb 05 09:42:51 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ComparatorOrdering.java

        return comparator.compare(a, b);
      }
    
      @Override
      public boolean equals(@Nullable 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ReverseOrdering.java

      public int hashCode() {
        return -forwardOrder.hashCode();
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof ReverseOrdering) {
          ReverseOrdering<?> that = (ReverseOrdering<?>) object;
          return this.forwardOrder.equals(that.forwardOrder);
        }
        return false;
      }
    
      @Override
      public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            // Verify all children are present
            assertTrue(children.stream().anyMatch(f -> "file1.txt".equals(f.getName())));
            assertTrue(children.stream().anyMatch(f -> "file2.txt".equals(f.getName())));
            assertTrue(children.stream().anyMatch(f -> "dir1".equals(f.getName())));
        }
    
        @Test
        public void testMarkComplete() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

                    final String[] ids = { "", "", "" };
                    if (Constants.WEB_CRAWLER_TYPE.equals(type)) {
                        ids[0] = "\"" + id + "\"";
                    } else if (Constants.FILE_CRAWLER_TYPE.equals(type)) {
                        ids[1] = "\"" + id + "\"";
                    } else if (Constants.DATA_CRAWLER_TYPE.equals(type)) {
                        ids[2] = "\"" + id + "\"";
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/Kerb5Authenticator.java

        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.smb.NtlmPasswordAuthenticator#equals(java.lang.Object)
         */
        @Override
        public boolean equals(Object other) {
            // this method is called from SmbSession
            if (other instanceof Kerb5Authenticator) {
                return Objects.equals(this.getSubject(), ((Kerb5Authenticator) other).getSubject());
            }
    
            return false;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

                return session;
            }
    
            if (session != null) {
                LocalRepositoryManager lrm = session.getLocalRepositoryManager();
                if (lrm != null && lrm.getRepository().getBasedir().equals(new File(repository.getBasedir()))) {
                    return session;
                }
            } else {
                session = new DefaultRepositorySystemSession();
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                    new AbstractValueSource(false) {
    
                        @Override
                        public Object getValue(String expression) {
                            if (projectDir != null && "basedir".equals(expression)) {
                                return projectDir.getAbsolutePath();
                            }
                            return null;
                        }
                    },
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt

        } catch (ce: CertificateException) {
          throw SSLPeerUnverifiedException(ce.message).apply { initCause(ce) }
        }
      }
    
      override fun equals(other: Any?): Boolean =
        other is AndroidCertificateChainCleaner &&
          other.trustManager === this.trustManager
    
      override fun hashCode(): Int = System.identityHashCode(trustManager)
    
      companion object {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top