Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,777 for Equals (0.07 sec)

  1. android/guava/src/com/google/common/hash/BloomFilter.java

      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof BloomFilter) {
          BloomFilter<?> that = (BloomFilter<?>) object;
          return this.numHashFunctions == that.numHashFunctions
              && this.funnel.equals(that.funnel)
              && this.bits.equals(that.bits)
              && this.strategy.equals(that.strategy);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeImpl.java

            int e = stackTrace.length;
    
            for ( int i = s; i < e; i++ ) {
                StackTraceElement se = stackTrace[ i ];
    
                if ( i == s && SmbTreeImpl.class.getName().equals(se.getClassName()) && "close".equals(se.getMethodName()) ) {
                    s++;
                    continue;
                }
    
                if ( se.getClassName().startsWith("org.junit.runners.") ) {
                    e = i - 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/AbstractGraph.java

      @Override
      public final boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj instanceof Graph)) {
          return false;
        }
        Graph<?> other = (Graph<?>) obj;
    
        return isDirected() == other.isDirected()
            && nodes().equals(other.nodes())
            && edges().equals(other.edges());
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

            }
    
            final String[] cmds = stream(commands).get(stream -> stream.map(s -> {
                if ("$USERNAME".equals(s)) {
                    return username;
                }
                if ("$PASSWORD".equals(s)) {
                    return password;
                }
                return s;
            }).toArray(n -> new String[n]));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

        }
    
        private fun bodyHasUnknownEncoding(headers: Headers): Boolean {
          val contentEncoding = headers["Content-Encoding"] ?: return false
          return !contentEncoding.equals("identity", ignoreCase = true) &&
            !contentEncoding.equals("gzip", ignoreCase = true)
        }
    
        private fun bodyIsStreaming(response: Response): Boolean {
          val contentType = response.body.contentType()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        /** {@inheritDoc} */
        public boolean equals(Object o) {
            if (o == this) {
                return true;
            }
    
            if (!(o instanceof Artifact)) {
                return false;
            }
    
            Artifact a = (Artifact) o;
    
            if (!a.getGroupId().equals(getGroupId())) {
                return false;
            } else if (!a.getArtifactId().equals(getArtifactId())) {
                return false;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java

        }
    
        @Override
        public boolean equals(final Object obj) {
            if (!(obj instanceof final SitemapUrl sitemapUrl)) {
                return false;
            }
            if (StringUtil.equals(loc, sitemapUrl.loc) && StringUtil.equals(changefreq, sitemapUrl.changefreq)
                    && StringUtil.equals(lastmod, sitemapUrl.lastmod) && StringUtil.equals(priority, sitemapUrl.priority)) {
                return true;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractSetMultimap.java

       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code SetMultimap} instances are equal if, for each key, they contain the same values.
       * Equality does not depend on the ordering of keys or values.
       */
      @Override
      public boolean equals(@CheckForNull Object object) {
        return super.equals(object);
      }
    
      private static final long serialVersionUID = 7431625294878419160L;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code SetMultimap} instances are equal if, for each key, they contain the same values.
       * Equality does not depend on the ordering of keys or values.
       */
      @Override
      public boolean equals(@CheckForNull Object object) {
        return super.equals(object);
      }
    
      private static final long serialVersionUID = 7431625294878419160L;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new MailingList().equals(null));
    
            new MailingList().equals(new MailingList());
        }
    
        @Test
        void testEqualsIdentity() {
            MailingList thing = new MailingList();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new MailingList().toString());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top