Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,225 for equalTo (0.06 sec)

  1. src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItemTest.java

            assertTrue(stemmerOverrideItem1.equals(stemmerOverrideItem1));
            assertTrue(stemmerOverrideItem1.equals(new StemmerOverrideItem(1, "aaa", "a")));
            assertTrue(stemmerOverrideItem1.equals(new StemmerOverrideItem(2, "aaa", "a")));
            assertFalse(stemmerOverrideItem1.equals(new StemmerOverrideItem(1, "aaa", "b")));
            assertFalse(stemmerOverrideItem1.equals(new StemmerOverrideItem(2, "bbb", "a")));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NbtAddress.java

            return this.address;
        }
    
        /**
         * Determines if this address is equal two another. Only the IP Addresses
         * are compared. Similar to the {@link #hashCode} method, the comparison
         * is based on the integer IP address and not the string representation.
         */
    
        @Override
        public boolean equals(final Object obj) {
            return obj instanceof NbtAddress && ((NbtAddress) obj).address == this.address;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            void testHashCodeConsistency() {
                assertEquals(data1.hashCode(), data2.hashCode());
            }
    
            @Test
            @DisplayName("Should not be equal to null")
            void testNotEqualToNull() {
                assertNotEquals(data1, null);
            }
    
            @Test
            @DisplayName("Should not be equal to different type")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

    import java.util.Comparator;
    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    @NullUnmarked
    public class TypeTokenSubtypeTest extends TestCase {
    
      public void testOwnerTypeSubtypes() throws Exception {
        new OwnerTypeSubtypingTests().testAllDeclarations();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/MediaType.java

       * charset=UTF-8"}.
       */
      public boolean is(MediaType mediaTypeRange) {
        return (mediaTypeRange.type.equals(WILDCARD) || mediaTypeRange.type.equals(this.type))
            && (mediaTypeRange.subtype.equals(WILDCARD) || mediaTypeRange.subtype.equals(this.subtype))
            && this.parameters.entries().containsAll(mediaTypeRange.parameters.entries());
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/UniAddress.java

        /**
         * Compare two addresses for equality. Two <code>UniAddress</code>s are equal
         * if they are both <code>UniAddress</code>' and refer to the same IP address.
         */
        @Override
        public boolean equals(final Object obj) {
            return obj instanceof UniAddress && addr.equals(((UniAddress) obj).addr);
        }
        /*
        public boolean equals( Object obj ) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj instanceof VersionRange other) {
                return Objects.equals(recommendedVersion, other.recommendedVersion)
                        && Objects.equals(restrictions, other.restrictions);
            } else {
                return false;
            }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 19K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java

            }
    
            if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathCompile)) {
                return conflictResolver.resolveConflicts(getGraph(), ArtifactScopeEnum.compile);
            } else if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathRuntime)) {
                return conflictResolver.resolveConflicts(getGraph(), ArtifactScopeEnum.runtime);
            } else if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathTest)) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt

        System.gc() // Unless cs references the String instance, it may now be garbage collected.
        assertThat(forJavaName(java.lang.String(cs.javaName) as String))
          .isSameAs(cs)
      }
    
      @Test
      fun equals() {
        assertThat(forJavaName("cipher")).isEqualTo(forJavaName("cipher"))
        assertThat(forJavaName("cipherB")).isNotEqualTo(forJavaName("cipherA"))
        assertThat(CipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        return Integer.MAX_VALUE;
      }
    
      /**
       * Removes a single instance of the specified element from this queue, if it is present. More
       * formally, removes an element {@code e} such that {@code o.equals(e)}, if this queue contains
       * one or more such elements. Returns {@code true} if and only if this queue contained the
       * specified element (or equivalently, if this queue changed as a result of the call).
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
Back to top