Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 298 for immutable (0.06 sec)

  1. api/maven-api-model/pom.xml

        <artifactId>maven-api</artifactId>
        <version>4.1.0-SNAPSHOT</version>
      </parent>
    
      <artifactId>maven-api-model</artifactId>
    
      <name>Maven 4 API :: Model</name>
      <description>Maven 4 API - Immutable Model for Maven POM (Project Object Model).</description>
    
      <dependencies>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-annotations</artifactId>
        </dependency>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 07 14:31:13 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Lists.java

       *     those lists should appear in the resulting lists
       * @param <B> any common base class shared by all axes (often just {@link Object})
       * @return the Cartesian product, as an immutable list containing immutable lists
       * @throws IllegalArgumentException if the size of the cartesian product would be greater than
       *     {@link Integer#MAX_VALUE}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

        val minFreshSeconds: Int = cacheControl.minFreshSeconds()
        val onlyIfCached: Boolean = cacheControl.onlyIfCached()
        val noTransform: Boolean = cacheControl.noTransform()
        val immutable: Boolean = cacheControl.immutable()
        val parse: CacheControl = CacheControl.parse(Headers.of())
      }
    
      @Test @Disabled
      fun challenge() {
        val challenge = Challenge("", mapOf("" to ""))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

    import com.google.common.primitives.Chars;
    import com.google.common.primitives.Ints;
    import com.google.common.primitives.Longs;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.Immutable;
    import java.io.Serializable;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import java.nio.charset.Charset;
    import org.jspecify.annotations.Nullable;
    
    /**
     * See MurmurHash3_x86_32 in <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractService.java

              }
            });
      }
    
      /**
       * An immutable snapshot of the current state of the service. This class represents a consistent
       * snapshot of the state and therefore it can be used to answer simple queries without needing to
       * grab a lock.
       */
      // @Immutable except that Throwable is mutable (initCause(), setStackTrace(), mutable subclasses).
      private static final class StateSnapshot {
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

    import org.apache.maven.api.model.Profile;
    
    /**
     * Interface representing a Maven project which can be created using the
     * {@link org.apache.maven.api.services.ProjectBuilder ProjectBuilder} service.
     * Such objects are immutable and plugin that wish to modify such objects
     * need to do so using the {@link org.apache.maven.api.services.ProjectManager
     * ProjectManager} service.
     * <p>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Feb 27 11:07:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            assertEquals("original2", retrievedValues[1]);
    
            // Modify retrieved array
            retrievedValues[0] = "modified1";
    
            // Verify the parameter's values can still be modified (not deeply immutable)
            assertEquals("modified1", param.getValues()[0]);
    
            // This shows that the class returns the same array reference
            assertSame(retrievedValues, param.getValues());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SmbNegotiationTest.java

            assertEquals(1024, negotiationWithLargeBuffers.getRequestRaw().length);
            assertEquals(2048, negotiationWithLargeBuffers.getResponseRaw().length);
        }
    
        @Test
        @DisplayName("Fields should be immutable after construction")
        void testImmutability() {
            // Get references to the objects
            SmbNegotiationRequest originalRequest = negotiation.getRequest();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

        char max = max(map.keySet());
        char[][] replacements = new char[max + 1][];
        for (Character c : map.keySet()) {
          replacements[c] = map.get(c).toCharArray();
        }
        return replacements;
      }
    
      // Immutable empty array for when there are no replacements.
      @SuppressWarnings("ConstantCaseForConstants") // An empty array is a constant.
      private static final char[][] EMPTY_REPLACEMENT_ARRAY = new char[0][0];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/eventbus/SubscriberRegistry.java

     */
    final class SubscriberRegistry {
    
      /**
       * All registered subscribers, indexed by event type.
       *
       * <p>The {@link CopyOnWriteArraySet} values make it easy and relatively lightweight to get an
       * immutable snapshot of all current subscribers to an event without any locking.
       */
      private final ConcurrentMap<Class<?>, CopyOnWriteArraySet<Subscriber>> subscribers =
          Maps.newConcurrentMap();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top