Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2011 - 2020 of 4,689 for nulls (0.02 seconds)

  1. guava/src/com/google/common/base/Absent.java

      public T or(Supplier<? extends T> supplier) {
        return checkNotNull(
            supplier.get(), "use Optional.orNull() instead of a Supplier that returns null");
      }
    
      @Override
      public @Nullable T orNull() {
        return null;
      }
    
      @Override
      public Set<T> asSet() {
        return Collections.emptySet();
      }
    
      @Override
      public <V> Optional<V> transform(Function<? super T, V> function) {
        checkNotNull(function);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Apr 15 22:14:00 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/misc/DisposableUtil.java

         */
        public static synchronized void addFirst(final Disposable disposable) {
            assertArgumentNotNull("disposable", disposable);
            disposables.addFirst(disposable);
        }
    
        /**
         * Unregisters a disposable resource.
         *
         * @param disposable
         *            A disposable resource. Must not be {@literal null}.
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java

         *
         * @param problems The problems that cause this exception, may be {@code null}.
         */
        public SettingsBuildingException(List<SettingsProblem> problems) {
            super(toMessage(problems));
    
            this.problems = new ArrayList<>();
            if (problems != null) {
                this.problems.addAll(problems);
            }
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java

            // enables no-arg constructor
        }
    
        /**
         * Creates a shallow copy of the specified repository request.
         *
         * @param repositoryRequest The repository request to copy from, must not be {@code null}.
         */
        public DefaultRepositoryRequest(RepositoryRequest repositoryRequest) {
            setLocalRepository(repositoryRequest.getLocalRepository());
            setRemoteRepositories(repositoryRequest.getRemoteRepositories());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ThirdPartyAuditTask.java

        }
    
        public void ignoreMissingClasses(String... classesOrPackages) {
            if (classesOrPackages.length == 0) {
                missingClassExcludes = null;
                return;
            }
            if (missingClassExcludes == null) {
                missingClassExcludes = new TreeSet<>();
            }
            for (String each : classesOrPackages) {
                missingClassExcludes.add(each);
            }
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 17 08:59:22 GMT 2021
    - 16.2K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

            }
          }.build()
      private var socksProxy: SocksProxy? = null
      private var cache: Cache? = null
    
      @BeforeEach
      fun setUp() {
        platform.assumeNotOpenJSSE()
        eventRecorder.forbidLock(get(client.connectionPool))
        eventRecorder.forbidLock(client.dispatcher)
      }
    
      @AfterEach
      fun tearDown() {
        if (socksProxy != null) {
          socksProxy!!.shutdown()
        }
        if (cache != null) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

        public void test_available_withEmptySsoType() {
            currentSsoType = "";
            assertTrue(ssoManager.available());
        }
    
        @Test
        public void test_available_withNullSsoType() {
            currentSsoType = null;
            assertTrue(ssoManager.available());
        }
    
        // Test getLoginCredential() method
        @Test
        public void test_getLoginCredential_whenNotAvailable() {
            currentSsoType = Constants.NONE;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            });
        }
    
        @Test
        public void testValidString() throws Exception {
            validator.validateString("normal string", 100, "test");
            validator.validateString(null, 100, "test"); // Null should be allowed
            // Should pass without exception
        }
    
        @Test
        public void testStringTooLong() throws Exception {
            String longString = "a".repeat(300);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/llm/LlmChatRequest.java

         * {@code null} means use the model default, {@code 0} disables thinking.
         *
         * @return the thinking budget
         */
        public Integer getThinkingBudget() {
            return thinkingBudget;
        }
    
        /**
         * Sets the thinking budget for models that support thinking tokens.
         * {@code null} means use the model default, {@code 0} disables thinking.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 03:38:31 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/beans/MethodDesc.java

         */
        Class<?> getValueClassOfMap(int index);
    
        /**
         * Returns the element type if the return type of the method is a parameterized {@link Collection}.
         *
         * @return the element type if the return type of the method is a parameterized {@link Collection}, otherwise {@literal null}
         */
        Class<?> getElementClassOfCollection();
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 5.9K bytes
    - Click Count (0)
Back to Top