- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 175 for immutable (0.04 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt
if (minFreshSeconds != -1) append("min-fresh=").append(minFreshSeconds).append(", ") if (onlyIfCached) append("only-if-cached, ") if (noTransform) append("no-transform, ") if (immutable) append("immutable, ") if (isEmpty()) return "" deleteRange(length - 2, length) } headerValue = result } return result } internal fun Long.commonClampToInt(): Int = when {
Registered: 2025-05-30 11:42 - Last Modified: 2025-03-19 19:25 - 7.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
Registered: 2025-05-24 08:56 - Last Modified: 2025-01-30 23:29 - 12K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt
.minFresh(3, TimeUnit.SECONDS) .onlyIfCached() .noTransform() .immutable() .build() assertThat(cacheControl.toString()).isEqualTo( "no-cache, no-store, max-age=1, max-stale=2, min-fresh=3, only-if-cached, " + "no-transform, immutable", ) assertThat(cacheControl.noCache).isTrue() assertThat(cacheControl.noStore).isTrue()
Registered: 2025-05-30 11:42 - Last Modified: 2025-03-19 19:25 - 7.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ImmutableValueGraph.java
import com.google.errorprone.annotations.Immutable; import com.google.errorprone.annotations.InlineMe; /** * A {@link ValueGraph} whose elements and structural relationships will never change. Instances of * this class may be obtained with {@link #copyOf(ValueGraph)}. * * <p>See the Guava User's Guide's <a * href="https://github.com/google/guava/wiki/GraphsExplained#immutable-implementations">discussion
Registered: 2025-05-30 12:43 - Last Modified: 2025-03-17 20:26 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java
* </ul> * * @since 22.0 */ @GwtCompatible @Immutable public final class ImmutableDoubleArray implements Serializable { private static final ImmutableDoubleArray EMPTY = new ImmutableDoubleArray(new double[0]); /** Returns the empty array. */ public static ImmutableDoubleArray of() { return EMPTY; } /** Returns an immutable array containing a single value. */
Registered: 2025-05-30 12:43 - Last Modified: 2025-04-14 16:36 - 22.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableIntArray.java
* </ul> * * @since 22.0 */ @GwtCompatible @Immutable public final class ImmutableIntArray implements Serializable { private static final ImmutableIntArray EMPTY = new ImmutableIntArray(new int[0]); /** Returns the empty array. */ public static ImmutableIntArray of() { return EMPTY; } /** Returns an immutable array containing a single value. */ public static ImmutableIntArray of(int e0) {
Registered: 2025-05-30 12:43 - Last Modified: 2025-04-14 16:36 - 21.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
* mutable objects as elements at all, as many users may expect your "immutable" object to be * <i>deeply</i> immutable. * </ul> * * <h4>Performance notes</h4> * * <ul> * <li>Implementations can be generally assumed to prioritize memory efficiency, then speed of * access, and lastly speed of creation. * <li>The {@code copyOf} methods will sometimes recognize that the actual copy operation is
Registered: 2025-05-30 12:43 - Last Modified: 2025-04-08 13:05 - 18.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/DependencyCoordinates.java
* under the License. */ package org.apache.maven.api; import java.util.Collection; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Immutable; import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nullable; /** * {@code ArtifactCoordinates} completed with information about how the artifact will be used.
Registered: 2025-05-24 08:56 - Last Modified: 2025-03-05 14:29 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
if (actualIterator.hasNext()) { fail("index " + i + ", expected is exhausted, actual <" + actualIterator.next() + ">"); } } /** * Verifies that a collection is immutable. * * <p>A collection is considered immutable if: * * <ol> * <li>All its mutation methods result in UnsupportedOperationException, and do not change the * underlying contents.
Registered: 2025-05-30 12:43 - Last Modified: 2025-05-13 17:27 - 14.6K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableDoubleArray.java
* </ul> * * @since 22.0 */ @GwtCompatible @Immutable public final class ImmutableDoubleArray implements Serializable { private static final ImmutableDoubleArray EMPTY = new ImmutableDoubleArray(new double[0]); /** Returns the empty array. */ public static ImmutableDoubleArray of() { return EMPTY; } /** Returns an immutable array containing a single value. */
Registered: 2025-05-30 12:43 - Last Modified: 2025-04-14 16:36 - 22.1K bytes - Viewed (0)