Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 554 for HashCode (0.12 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        }
    
        /** {@inheritDoc} */
        public int hashCode() {
            int result = 17;
    
            result = 37 * result + getGroupId().hashCode();
            result = 37 * result + getArtifactId().hashCode();
            result = 37 * result + getType().hashCode();
            if (getVersion() != null) {
                result = 37 * result + getVersion().hashCode();
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java

                return true;
            }
            return false;
        }
    
        @Override
        public int hashCode() {
            return loc.hashCode() + changefreq.hashCode() + lastmod.hashCode() + priority.hashCode();
        }
    
        @Override
        public String toString() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/Network.java

     * additional documentation, including:
     *
     * <ul>
     *   <li><a
     *       href="https://github.com/google/guava/wiki/GraphsExplained#equals-hashcode-and-graph-equivalence">
     *       {@code equals()}, {@code hashCode()}, and graph equivalence</a>
     *   <li><a href="https://github.com/google/guava/wiki/GraphsExplained#synchronization">
     *       Synchronization policy</a>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/ScmTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code Scm}.
     *
     */
    class ScmTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Scm().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Scm().equals(null));
    
            new Scm().equals(new Scm());
        }
    
        @Test
        void testEqualsIdentity() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/SipHashFunction.java

          return (c == other.c) && (d == other.d) && (k0 == other.k0) && (k1 == other.k1);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return (int) (getClass().hashCode() ^ c ^ d ^ k0 ^ k1);
      }
    
      private static final class SipHasher extends AbstractStreamingHasher {
        private static final int CHUNK_SIZE = 8;
    
        // The number of compression rounds.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypesTest.java

        new EqualsTester().addEqualityGroup(jvmType, ourType).testEquals();
        assertEquals(jvmType.toString(), ourType.toString());
        assertEquals(jvmType.hashCode(), ourType.hashCode());
        assertEquals(HashMap.class, ourType.getRawType());
        assertThat(ourType.getActualTypeArguments())
            .asList()
            .containsExactlyElementsIn(asList(jvmType.getActualTypeArguments()))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypesTest.java

        new EqualsTester().addEqualityGroup(jvmType, ourType).testEquals();
        assertEquals(jvmType.toString(), ourType.toString());
        assertEquals(jvmType.hashCode(), ourType.hashCode());
        assertEquals(HashMap.class, ourType.getRawType());
        assertThat(ourType.getActualTypeArguments())
            .asList()
            .containsExactlyElementsIn(asList(jvmType.getActualTypeArguments()))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Hashing.java

       * hereby disclaims copyright to this source code.
       */
      static int smear(int hashCode) {
        return (int) (C2 * Integer.rotateLeft((int) (hashCode * C1), 15));
      }
    
      static int smearedHash(@CheckForNull Object o) {
        return smear((o == null) ? 0 : o.hashCode());
      }
    
      private static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractMultimap.java

       *
       * <p>The hash code of a multimap is defined as the hash code of the map view, as returned by
       * {@link Multimap#asMap}.
       *
       * @see Map#hashCode
       */
      @Override
      public int hashCode() {
        return asMap().hashCode();
      }
    
      /**
       * Returns a string representation of the multimap, generated by calling {@code toString} on the
       * map returned by {@link Multimap#asMap}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     * Tests {@code Model}.
     *
     */
    class ModelTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Model().hashCode();
        }
    
        @Test
        void testBuild() {
            Model model = new Model();
            Build build = new Build();
            build.setOutputDirectory("myOutputDirectory");
            model.setBuild(build);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top