Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2541 - 2550 of 4,689 for nulls (0.03 seconds)

  1. guava/src/com/google/common/collect/AbstractMapEntry.java

              && Objects.equals(this.getValue(), that.getValue());
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        K k = getKey();
        V v = getValue();
        return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
      }
    
      /** Returns a string representation of the form {@code {key}={value}}. */
      @Override
      public String toString() {
        return getKey() + "=" + getValue();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/PathTranslatingPostProcessor.java

            if (value != null) {
                expression = ValueSourceUtils.trimPrefix(expression, expressionPrefixes, true);
    
                if (unprefixedPathKeys.contains(expression)) {
                    return pathTranslator.alignToBaseDirectory(String.valueOf(value), projectDir);
                }
            }
    
            return null;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

        val builderList: List<KeyStore.Builder> =
          listOf(
            KeyStore.Builder.newInstance("PKCS11", null, KeyStore.CallbackHandlerProtection(callbackHandler)),
            // Example if you want to combine multiple keystore types
            // KeyStore.Builder.newInstance("PKCS12", null, File("keystore.p12"), PasswordProtection("rosebud".toCharArray()))
          )
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/InternersTest.java

        assertThat(pool.intern(not)).isSameInstanceAs(canonical);
      }
    
      public void testStrong_null() {
        Interner<String> pool = Interners.newStrongInterner();
        assertThrows(NullPointerException.class, () -> pool.intern(null));
      }
    
      public void testStrong_builder() {
        int concurrencyLevel = 42;
        Interner<Object> interner =
            Interners.newBuilder().strong().concurrencyLevel(concurrencyLevel).build();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/DescendingMultiset.java

        if (result == null) {
          result = Ordering.from(forwardMultiset().comparator()).reverse();
          comparator = result;
        }
        return result;
      }
    
      @LazyInit private transient @Nullable NavigableSet<E> elementSet;
    
      @Override
      public NavigableSet<E> elementSet() {
        NavigableSet<E> result = elementSet;
        if (result == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

                for (int i = 0; i < num; i++) {
                    hmap.put("a" + String.valueOf(i), null);
                }
                System.out.println("HashMap.put:" + (System.currentTimeMillis() - start));
    
                start = System.currentTimeMillis();
                for (int i = 0; i < num; i++) {
                    cimap.put("a" + String.valueOf(i), null);
                }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/crawler/processor/FessResponseProcessor.java

        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(FessResponseProcessor.class);
    
        /** Factory for creating and managing ingesters */
        private IngestFactory ingestFactory = null;
    
        /**
         * Initializes the processor after dependency injection.
         * Sets up the ingest factory if available in the component system.
         */
        @PostConstruct
        public void init() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/ldap/LdapUtilTest.java

    import org.junit.jupiter.api.Test;
    
    public class LdapUtilTest extends UnitFessTestCase {
    
        @Test
        public void test_escapeValue_null() {
            assertEquals("", LdapUtil.escapeValue(null));
        }
    
        @Test
        public void test_escapeValue_empty() {
            assertEquals("", LdapUtil.escapeValue(""));
        }
    
        @Test
        public void test_escapeValue_noSpecialChars() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

            // Expected format: buffer format (0x04) + path string (null terminated)
            byte[] expected = new byte[directoryName.length() + 2];
            expected[0] = 0x04; // Buffer format
            System.arraycopy(directoryName.getBytes(StandardCharsets.UTF_8), 0, expected, 1, directoryName.length());
            expected[directoryName.length() + 1] = 0x00; // Null terminator
    
            byte[] dst = new byte[100];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

        @Inject
        private List<ProfileActivator> activators = new ArrayList<>();
    
        public DefaultProfileSelector addProfileActivator(ProfileActivator profileActivator) {
            if (profileActivator != null) {
                activators.add(profileActivator);
            }
            return this;
        }
    
        @Override
        public List<Profile> getActiveProfiles(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.6K bytes
    - Click Count (0)
Back to Top