Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 1,228 for Equals (0.06 sec)

  1. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

                if (dir == null)
                    return false;
                String path = dir.getPath();
                // Accept files in /share/folder/ that are text files
                return path.equals("/share/folder/") && name != null && name.endsWith(".txt");
            };
    
            // Act & Assert: test with different file names
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableRangeMap.java

        };
      }
    
      @Override
      public int hashCode() {
        return asMapOfRanges().hashCode();
      }
    
      @Override
      public boolean equals(@Nullable Object o) {
        if (o instanceof RangeMap) {
          RangeMap<?, ?> rangeMap = (RangeMap<?, ?>) o;
          return asMapOfRanges().equals(rangeMap.asMapOfRanges());
        }
        return false;
      }
    
      @Override
      public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

        @Nonnull
        public String id() {
            return id;
        }
    
        public boolean isTransitive() {
            return transitive;
        }
    
        public boolean is(String id) {
            return id().equals(id);
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 19 14:33:26 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

      public void testAsMapGet() {
        for (K key : sampleKeys()) {
          List<V> expectedValues = new ArrayList<>();
          for (Entry<K, V> entry : getSampleElements()) {
            if (entry.getKey().equals(key)) {
              expectedValues.add(entry.getValue());
            }
          }
    
          Collection<V> collection = multimap().asMap().get(key);
          if (expectedValues.isEmpty()) {
            assertNull(collection);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. 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)
  6. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return obj instanceof IsOdd;
        }
    
        @Override
        public String toString() {
          return "IsOdd";
        }
      }
    
      /**
       * Generates a new Predicate per call.
       *
       * <p>Creating a new Predicate each time helps catch cases where code is using {@code x == y}
       * instead of {@code x.equals(y)}.
       */
      private static IsOdd isOdd() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

            Method[] methods = SystemMonitorTarget.class.getDeclaredMethods();
    
            for (Method method : methods) {
                if (method.getName().startsWith("append") && !method.getName().equals("append")) {
                    assertTrue("Private append methods should be private: " + method.getName(),
                            java.lang.reflect.Modifier.isPrivate(method.getModifiers()));
                }
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/witness/MockWitnessService.java

            int affectedRegistrations = 0;
            for (MockRegistration reg : registrations.values()) {
                if (reg.shareName.equalsIgnoreCase(resourceName) || reg.serverAddress.equals(resourceName)) {
                    affectedRegistrations++;
                }
            }
    
            log.debug("Notification affects {} registrations", affectedRegistrations);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

            // Verify that this test method appears in the stack trace
            boolean foundTestMethod = false;
            for (StackTraceElement element : exception.getStackTrace()) {
                if ("test_stackTrace".equals(element.getMethodName())) {
                    foundTestMethod = true;
                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
        public void test_serialVersionUID() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractTable.java

        public void clear() {
          AbstractTable.this.clear();
        }
    
        @Override
        public int size() {
          return AbstractTable.this.size();
        }
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return Tables.equalsImpl(this, obj);
      }
    
      @Override
      public int hashCode() {
        return cellSet().hashCode();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top