Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 557 for hashCode (0.06 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java

        @Override
        public void addClient(final String regex, final CrawlerClient client, final int pos) {
            factory.addClient(regex, client, pos);
        }
    
        @Override
        public int hashCode() {
            return factory.hashCode();
        }
    
        @Override
        public void addClient(final List<String> regexList, final CrawlerClient client) {
            factory.addClient(regexList, client);
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NbtAddress.java

        }
    
    
        /**
         * Returns a hashcode for this IP address. The hashcode comes from the IP address
         * and is not generated from the string representation. So because NetBIOS nodes
         * can have many names, all names associated with an IP will have the same
         * hashcode.
         */
    
        @Override
        public int hashCode () {
            return this.address;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      }
    
      public void testHashCode() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        int expected =
            Objects.hashCode("foo", 1, 'a')
                + Objects.hashCode("bar", 1, 'b')
                + Objects.hashCode("foo", 3, 'c');
        assertEquals(expected, table.hashCode());
      }
    
      public void testToStringSize1() {
        table = create("foo", 1, 'a');
        assertEquals("{foo={1=a}}", table.toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

         * @return the ttl
         */
        public long getTtl () {
            return this.ttl;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#hashCode()
         */
        @Override
        public int hashCode () {
            return Objects.hash(this.server, this.share, this.path, this.pathConsumed);
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 11K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ForwardingSet.java

      protected abstract Set<E> delegate();
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        return object == this || delegate().equals(object);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    
      /**
       * A sensible definition of {@link #removeAll} in terms of {@link #iterator} and {@link #remove}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/MessageDigestHashFunction.java

          checkState(!done, "Cannot re-use a Hasher after calling hash() on it");
        }
    
        @Override
        public HashCode hash() {
          checkNotDone();
          done = true;
          return (bytes == digest.getDigestLength())
              ? HashCode.fromBytesNoCopy(digest.digest())
              : HashCode.fromBytesNoCopy(Arrays.copyOf(digest.digest(), bytes));
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/MethodUtilTest.java

            final Method hashCodeMethod = ClassUtil.getMethod(getClass(), "hashCode");
            assertThat(MethodUtil.isEqualsMethod(hashCodeMethod), is(not(true)));
        }
    
        /**
         *
         */
        @Test
        public void testIsHashCodeMethod() {
            final Method hashCodeMethod = ClassUtil.getMethod(getClass(), "hashCode");
            assertThat(MethodUtil.isHashCodeMethod(hashCodeMethod), is(true));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

                Arrays.sort(inputs);
            }
            if (newInputs != null) {
                Arrays.sort(newInputs);
            }
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(Arrays.hashCode(inputs), output);
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

      @Benchmark
      public int iterate() {
        long retVal = 0;
        for (Object entry : map.entrySet()) {
          retVal += entry.hashCode();
        }
        return (int) retVal;
      }
    
      @Benchmark
      public int keyIterate() {
        long retVal = 0;
        for (Object key : map.keySet()) {
          retVal += key.hashCode();
        }
        return (int) retVal;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

            addScopeInternal(scope);
        }
    
        public Set<String> getScopes() {
            return scopes;
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
    
            hash = hash * 31 + scopes.hashCode();
    
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top