Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1431 - 1440 of 3,432 for NULL (0.06 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

      public void testSetCount_removeNull_nullSupported() {
        initCollectionWithNullElement();
        assertSetCount(null, 0);
      }
    
      @CollectionFeature.Require(
          value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES},
          absent = RESTRICTS_ELEMENTS)
      public void testSetCount_addNull_nullSupported() {
        assertSetCount(null, 1);
      }
    
      @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/Cache.java

     * @param <V> the type of the cache's values, which are not permitted to be null
     * @author Charles Fry
     * @since 10.0
     */
    @DoNotMock("Use CacheBuilder.newBuilder().build()")
    @GwtCompatible
    public interface Cache<K, V> {
    
      /**
       * Returns the value associated with {@code key} in this cache, or {@code null} if there is no
       * cached value for {@code key}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Joiner.java

         * it returns a subclass of Joiner that overrides this method to tolerate null inputs.
         *
         * Unfortunately, we don't distinguish between these two cases in our public API: Joiner.on(...)
         * and Joiner.on(...).useForNull(...) both declare the same return type: plain Joiner. To ensure
         * that users *can* pass null arguments to Joiner, we annotate it as if it always tolerates null
         * inputs, rather than as if it never tolerates them.
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

      }
    
      public void testOfNullKey() {
        Integer n = null;
        assertThrows(NullPointerException.class, () -> ImmutableSortedMap.of(n, 1));
    
        assertThrows(NullPointerException.class, () -> ImmutableSortedMap.of("one", 1, null, 2));
      }
    
      public void testOfNullValue() {
        assertThrows(NullPointerException.class, () -> ImmutableSortedMap.of("one", null));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

        private byte andxCommand = (byte) 0xFF;
        private int andxOffset = 0;
    
        ServerMessageBlock andx = null;
    
        AndXServerMessageBlock() {
        }
    
        AndXServerMessageBlock(final ServerMessageBlock andx) {
            if (andx != null) {
                this.andx = andx;
                andxCommand = andx.command;
            }
        }
    
        int getBatchLimit(final byte command) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

         * @throws NullPointerException if session or source is null
         */
        @Nonnull
        static ProjectBuilderRequest build(@Nonnull Session session, @Nonnull Source source) {
            return builder()
                    .session(requireNonNull(session, "session cannot be null"))
                    .source(requireNonNull(source, "source cannot be null"))
                    .build();
        }
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                        final Map<String, Object> source = hit.getSourceAsMap();
                        if (source != null) {
                            docMap.putAll(source);
                        }
                        final Map<String, DocumentField> fields = hit.getFields();
                        if (fields != null) {
                            docMap.putAll(fields.entrySet()
                                    .stream()
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

        public String getInput() {
            return input;
        }
    
        /**
         * Gets the value of the stopword.
         *
         * @return The stopword value, or an empty string if null.
         */
        public String getInputValue() {
            if (input == null) {
                return StringUtil.EMPTY;
            }
            return input;
        }
    
        /**
         * Checks if the item has been updated.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

        if (sslSocket is org.openjsse.javax.net.ssl.SSLSocket) {
          when (val protocol = sslSocket.applicationProtocol) {
            // Handles both un-configured and none selected.
            null, "" -> null
            else -> protocol
          }
        } else {
          super.getSelectedProtocol(sslSocket)
        }
    
      companion object {
        val isSupported: Boolean =
          try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/LineReader.java

       *     line-termination characters, or {@code null} if the end of the stream has been reached.
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // to skip a line
      public @Nullable String readLine() throws IOException {
        while (lines.peek() == null) {
          Java8Compatibility.clear(cbuf);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top