Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2861 - 2870 of 4,689 for nulls (0.06 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

      public void testNewReference() throws Exception {
        assertThat(Atomics.newReference().get()).isNull();
      }
    
      public void testNewReference_withInitialValue() throws Exception {
        assertThat(Atomics.newReference(null).get()).isNull();
        assertEquals(OBJECT, Atomics.newReference(OBJECT).get());
      }
    
      public void testNewReferenceArray_withLength() throws Exception {
        int length = 42;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/collection/ArrayIterator.java

        /**
         * Returns an {@link Iterable} that wraps the array for use in a for-each statement.
         *
         * @param <T> the type of elements
         * @param items the array of elements to iterate (must not be {@literal null})
         * @return an {@link Iterable} wrapping the array
         */
        public static <T> Iterable<T> iterable(final T... items) {
            assertArgumentNotNull("items", items);
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SecurityBlob.java

        SecurityBlob() {
        }
    
        SecurityBlob(final byte[] b) {
            set(b);
        }
    
        void set(final byte[] b) {
            this.b = b == null ? new byte[0] : b;
        }
    
        byte[] get() {
            return this.b;
        }
    
        int length() {
            if (this.b == null) {
                return 0;
            }
            return this.b.length;
        }
    
        /*
         * (non-Javadoc)
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  4. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PropertyContributor.java

        /**
         * Invoked just before session is created with a mutable map that carries collected user properties so far.
         *
         * @param userProperties The mutable user properties, never {@code null}.
         * @see #contribute(ProtoSession)
         */
        default void contribute(Map<String, String> userProperties) {}
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 20 19:58:27 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestMavenWorkspaceReader.java

        @Override
        public WorkspaceRepository getRepository() {
            return WORKSPACE_REPOSITORY;
        }
    
        @Override
        public File findArtifact(Artifact artifact) {
            return null;
        }
    
        @Override
        public List<String> findVersions(Artifact artifact) {
            return Collections.emptyList();
        }
    
        @Override
        public Model findModel(Artifact artifact) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java

            this.lifecyclePhases = lifecyclePhases;
        }
    
        @Deprecated
        public Map<String, String> getPhases() {
            Map<String, LifecyclePhase> lphases = getLifecyclePhases();
            if (lphases == null) {
                return null;
            }
    
            if (lphases.isEmpty()) {
                return Collections.emptyMap();
            }
    
            Map<String, String> phases = new LinkedHashMap<>();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/SearchBody.java

        /** Number of search results to retrieve (alias for num) */
        @ValidateTypeFailure
        public Integer size;
    
        @Override
        public void initialize() {
            if (size != null) {
                num = num == null || num < size ? size : num;
            }
            super.initialize();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/convert/BinaryConversionUtil.java

         * @return The {@literal byte} array
         */
        public static byte[] toBinary(final Object o) {
            if (o instanceof byte[]) {
                return (byte[]) o;
            } else if (o == null) {
                return null;
            } else {
                assertArgument("o", o instanceof String, o.getClass().toString());
                return ((String) o).getBytes();
            }
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecrypter.java

        /**
         * Decrypts passwords in the settings.
         *
         * @param request The settings decryption request that holds the parameters, must not be {@code null}.
         * @return The result of the settings decryption, never {@code null}.
         */
        SettingsDecryptionResult decrypt(SettingsDecryptionRequest request);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/RestTestTransformByParentObject.java

        String getKeyToFind();
    
        /**
         * @return If the value of the ObjectNode is also an ObjectNode, ensure that child key name is also satisfied.
         * {@code null} to indicate no required children.
         */
        default String requiredChildKey() {
            return null;
        }
    
        /**
         * @param child a node on which the transformation will be applied.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.3K bytes
    - Click Count (0)
Back to Top