Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 557 for hashCode (0.09 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/PluginContainerTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code PluginContainer}.
     *
     */
    class PluginContainerTest {
    
        @Test
        void testHashCodeNullSafe() {
            new PluginContainer().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new PluginContainer().equals(null));
    
            new PluginContainer().equals(new PluginContainer());
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/RelocationTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code Relocation}.
     *
     */
    class RelocationTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Relocation().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Relocation().equals(null));
    
            new Relocation().equals(new Relocation());
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        }
    
        @Override
        public V getValue() {
          assertTrue(Thread.holdsLock(mutex));
          return super.getValue();
        }
    
        @Override
        public int hashCode() {
          assertTrue(Thread.holdsLock(mutex));
          return super.hashCode();
        }
    
        @Override
        public V setValue(V value) {
          assertTrue(Thread.holdsLock(mutex));
          return super.setValue(value);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code License}.
     *
     */
    class LicenseTest {
    
        @Test
        void testHashCodeNullSafe() {
            new License().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new License().equals(null));
    
            new License().equals(new License());
        }
    
        @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. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProvider.java

            sb.append(":{useTimeZoneHandling=").append(isUseTimeZoneHandling());
            sb.append(", acceptCookieTimeZone=").append(isAcceptCookieTimeZone());
            sb.append("}@").append(Integer.toHexString(hashCode()));
            return sb.toString();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnum.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Interface that defines some kind of enums that can be extended by Maven plugins or extensions.
     *
     * Implementation must have {@code equals()} and {@code hashCode()} implemented, so implementations of this interface
     * can be used as keys.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ExtensibleEnum {
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Mar 01 17:18:13 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            }
            return false;
        }
    
    
        /**
         * Return the upcased username hash code.
         */
        @Override
        public int hashCode () {
            return getName().toUpperCase().hashCode();
        }
    
    
        /**
         * Return the domain and username in the format:
         * <tt>domain\\username</tt>. This is equivalent to <tt>getName()</tt>.
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ParameterMetaData.java

            }
            ParameterMetaData that = (ParameterMetaData) o;
            return Objects.equals(name, that.name) &&
                Objects.equals(type, that.type);
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(name, type);
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                    map.put("id", encodeId(objectName));
                    map.put("path", prefix);
                    map.put("name", getName(objectName));
                    map.put("hashCode", item.hashCode());
                    map.put("size", item.size());
                    map.put("directory", item.isDir());
                    if (!item.isDir()) {
                        map.put("lastModified", item.lastModified());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

            }
          }
          return true;
        }
    
        // Because we happen to use the same formula. If that changes, just don't override this.
        @Override
        public int hashCode() {
          return parent.hashCode();
        }
    
        @Override
        public String toString() {
          return parent.toString();
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top