- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 403 for immutable (0.13 seconds)
-
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 ""))
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 13.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java
* Builder class for constructing SearchResult instances using the builder pattern. * * This builder provides a fluent interface for setting the various properties * of a SearchResult before creating the final immutable instance. */ static class SearchResultBuilder { /** The total number of records that match the search criteria. */ private long allRecordCount;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 8.8K bytes - Click Count (0) -
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();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/Collections2.java
* * <p>This method is equivalent to {@code Collections2.orderedPermutations(list, * Ordering.natural())}. * * @param elements the original iterable whose elements have to be permuted. * @return an immutable {@link Collection} containing all the different permutations of the * original iterable. * @throws NullPointerException if the specified iterable is null or has any null elements. * @since 12.0 */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 23K bytes - Click Count (0) -
CHANGELOG.md
and `version`. This better suits HTTP/2 where the request line had to be synthesized from component headers. * Breaking: Change `RecordedRequest.body` from a mutable `Buffer` to an immutable `ByteString`. * Breaking: Adopt Okio's new `Socket` interface for `MockResponse.socketHandler`. Note that any _Breaking_ changes above impact only APIs introduced in earlier 5.0.0-alpha releasees.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 15 11:57:47 GMT 2026 - 36.2K bytes - Click Count (2) -
android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java
MapFeature.GENERAL_PURPOSE) /* * StandardDescendingMap uses lowerEntry(), and TreeMap.lowerEntry() deliberately * produces immutable entries. * * TODO(cpovirk): Consider making StandardDescendingMap return a ForwardingEntry that * supports setValue(). */ .suppressing(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 9.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java
import java.util.Collections; import java.util.Comparator; import java.util.Iterator; import java.util.NoSuchElementException; import java.util.Set; import org.jspecify.annotations.Nullable; /** * An immutable sorted set with one or more elements. TODO(jlevy): Consider separate class for a * single-element sorted set. * * @author Jared Levy * @author Louis Wasserman */ @GwtCompatible
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 8.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Joiner.java
* * <p>If neither {@link #skipNulls()} nor {@link #useForNull(String)} is specified, the joining * methods will throw {@link NullPointerException} if any given element is null. * * <p><b>Warning: joiner instances are always immutable</b>; a configuration method such as {@code * useForNull} has no effect on the instance it is invoked on! You must store and use the new joinerCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 19.3K bytes - Click Count (0) -
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()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.9K bytes - Click Count (0) -
guava/src/com/google/common/base/Joiner.java
* * <p>If neither {@link #skipNulls()} nor {@link #useForNull(String)} is specified, the joining * methods will throw {@link NullPointerException} if any given element is null. * * <p><b>Warning: joiner instances are always immutable</b>; a configuration method such as {@code * useForNull} has no effect on the instance it is invoked on! You must store and use the new joinerCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 21K bytes - Click Count (0)