Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 2,857 for null (0.04 seconds)

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

     * whose next element can always be derived from the previous element. Null elements are not
     * supported, nor is the {@link #remove()} method.
     *
     * <p>Example:
     *
     * {@snippet :
     * Iterator<Integer> powersOfTwo =
     *     new AbstractSequentialIterator<Integer>(1) {
     *       protected Integer computeNext(Integer previous) {
     *         return (previous == 1 << 30) ? null : previous * 2;
     *       }
     *     };
     * }
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ArrayTable.java

       *     for the keys
       */
      @CanIgnoreReturnValue
      public @Nullable V erase(@Nullable Object rowKey, @Nullable Object columnKey) {
        Integer rowIndex = rowKeyToIndex.get(rowKey);
        Integer columnIndex = columnKeyToIndex.get(columnKey);
        if (rowIndex == null || columnIndex == null) {
          return null;
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 13 19:39:21 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

        @Override
        public File getFile() {
            return path != null ? path.toFile() : null;
        }
    
        @Override
        public Path getPath() {
            return path;
        }
    
        @Override
        public void merge(File existing, File result) throws RepositoryException {
            merge(existing != null ? existing.toPath() : null, result != null ? result.toPath() : null);
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java

         */
        public String getModelId() {
            if (result == null) {
                return "";
            } else if (result.getEffectiveModel() != null) {
                return result.getEffectiveModel().getId();
            } else if (result.getRawModel() != null) {
                return result.getRawModel().getId();
            } else if (result.getFileModel() != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java

            if (stereotype == null) {
                stereotype = new DefaultType(dependency.getType(), Language.NONE, dependency.getType(), null, false);
            }
    
            boolean system = dependency.getSystemPath() != null
                    && !dependency.getSystemPath().isEmpty();
    
            Map<String, String> props = null;
            if (system) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Mar 20 22:29:18 GMT 2025
    - 6K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

      /**
       * The reason why this stream was closed, or null if it closed normally or has not yet been
       * closed.
       *
       * If there are multiple reasons to abnormally close this stream (such as both peers closing it
       * near-simultaneously) then this is the first reason known to this peer.
       */
      internal var errorCode: ErrorCode? = null
        get() = withLock { field }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/base/FunctionsTest.java

        assertEquals("correct", f.apply(new Object()));
        assertEquals("correct", f.apply(null));
    
        Function<@Nullable Object, @Nullable String> g = Functions.constant(null);
        assertEquals(null, g.apply(2));
        assertEquals(null, g.apply(null));
    
        new EqualsTester()
            .addEqualityGroup(f, Functions.constant("correct"))
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 16K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

             * expression from properties only.
             */
            if (value != null && type != null && !(value instanceof String) && !isTypeCompatible(type, value)) {
                value = null;
            }
    
            if (value == null) {
                // The CLI should win for defining properties
    
                if (properties != null) {
                    // We will attempt to get nab a property as a way to specify a parameter
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

            return new InnerInterpolator() {
                @Override
                public String interpolate(String value) {
                    if (value != null && value.contains("${")) {
                        String c = cache.get(value);
                        if (c == null) {
                            try {
                                c = interpolator.interpolate(value, recursionInterceptor);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

        expected[getNullLocation()] = entry(null, v3());
        expectContents(expected);
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
      public void testComputeIfPresent_nullKeySupportedAbsent() {
        assertNull(
            "computeIfPresent(null, function) should return null",
            getMap()
                .computeIfPresent(
                    null,
                    (k, v) -> {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 6.1K bytes
    - Click Count (0)
Back to Top