Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1421 - 1430 of 3,758 for null (0.49 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

      public void testAddAll_nullSupported() {
        List<E> containsNull = singletonList(null);
        assertTrue("addAll(containsNull) should return true", collection.addAll(containsNull));
        /*
         * We need (E) to force interpretation of null as the single element of a
         * varargs array, not the array itself
         */
        expectAdded((E) null);
      }
    
      @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
    - 7.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/LogStreamTest.java

        }
    
        private void resetLogStreamInstance() throws Exception {
            // Use reflection to reset the static instance field to null
            Field instanceField = LogStream.class.getDeclaredField("inst");
            instanceField.setAccessible(true);
            instanceField.set(null, null);
        }
    
        @Test
        void testConstructor() {
            // Test constructor creates a LogStream that extends PrintStream
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/naming/InitialContextUtil.java

         * Retrieves and returns the specified object from the given initial context.
         *
         * @param ctx
         *            The initial context. Must not be {@literal null}.
         * @param jndiName
         *            The name of the object to look up. Must not be {@literal null} or an empty string.
         * @return The object bound to <code>jndiName</code>.
         * @throws NamingRuntimeException
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/sql/ResultSetUtil.java

         * </p>
         *
         * @param resultSet
         *            The result set
         */
        public static void close(final ResultSet resultSet) {
            if (resultSet == null) {
                return;
            }
            try {
                resultSet.close();
            } catch (final SQLException e) {
                logger.log(format("ECL0017", e.getMessage()), e);
            }
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderResult.java

         */
        @Nonnull
        String getProjectId();
    
        /**
         * Gets the POM file from which the project was built.
         *
         * @return the optional POM file
         */
        @Nonnull
        Optional<Path> getPomFile();
    
        /**
         * Gets the project that was built.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

            if (outputs == null) {
                return StringUtil.EMPTY;
            }
            return String.join("\n", outputs);
        }
    
        /**
         * Checks if the item has been updated.
         *
         * @return true if the item has been updated, false otherwise.
         */
        public boolean isUpdated() {
            return newInputs != null && newOutputs != null;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/pager/AccessTokenPager.java

            existNextPage = false;
            pageSize = getDefaultPageSize();
            currentPageNumber = getDefaultCurrentPageNumber();
    
            id = null;
            name = null;
            createdBy = null;
            createdTime = null;
            versionNo = null;
    
        }
    
        /**
         * Get the all record count.
         * @return The all record count.
         */
        public int getAllRecordCount() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.java

        assertThrows(NullPointerException.class, () -> getMap().replace(k0(), v0(), null));
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUE_QUERIES)
      @CollectionSize.Require(absent = ZERO)
      public void testReplaceEntry_wrongValueNullValueUnsupported() {
        try {
          assertFalse(getMap().replace(k0(), v3(), null));
        } catch (NullPointerException tolerated) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java

        assertThrows(NullPointerException.class, () -> getMap().replace(k0(), v0(), null));
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUE_QUERIES)
      @CollectionSize.Require(absent = ZERO)
      public void testReplaceEntry_wrongValueNullValueUnsupported() {
        try {
          assertFalse(getMap().replace(k0(), v3(), null));
        } catch (NullPointerException tolerated) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/ModifierUtil.java

         * Do not instantiate.
         */
        protected ModifierUtil() {
        }
    
        /**
         * Checks if the specified method is public.
         *
         * @param method
         *            the method to check. Must not be null.
         * @return true if public, false otherwise
         */
        public static boolean isPublic(final Method method) {
            assertArgumentNotNull("method", method);
    
            return isPublic(method.getModifiers());
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top