- Sort Score
- Result 10 results
- Languages All
Results 11 - 19 of 19 for immutability (0.04 sec)
-
guava/src/com/google/common/collect/ImmutableSet.java
return CollectCollectors.toImmutableSet(); } /** * Returns the empty immutable set. Preferred over {@link Collections#emptySet} for code * consistency, and because the return type conveys the immutability guarantee. * * <p><b>Performance note:</b> the instance returned is a singleton. */ @SuppressWarnings({"unchecked"}) // fully variant implementation (never actually produces any Es)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 07 16:09:47 UTC 2025 - 35.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
// Then assertTrue(request instanceof ServerMessageBlock2Request); assertTrue(request instanceof ServerMessageBlock2); } @Test @DisplayName("Should maintain immutability of structure size") void testStructureSizeImmutability() throws Exception { // Given byte[] buffer = new byte[2048]; // When - encode at multiple positionsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
## Version 2.0.0-RC1 _2014-05-23_ OkHttp 2 is designed around a new API that is true to HTTP, with classes for requests, responses, headers, and calls. It uses modern Java patterns like immutability and chained builders. The API now offers asynchronous callbacks in addition to synchronous blocking calls. #### API Changes * **New Request and Response types,** each with their own builder. There's also
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 26.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
/** * Verifies that the {@code Set} returned by {@code nodes} has the expected mutability property * (see the {@code Graph} documentation for more information). */ @Test public abstract void nodes_checkReturnedSetMutability(); /** * Verifies that the {@code Set} returned by {@code adjacentNodes} has the expected mutability * property (see the {@code Graph} documentation for more information). */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 17.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java
/** * Verifies that the {@code Set} returned by {@code nodes} has the expected mutability property * (see the {@code Graph} documentation for more information). */ @Test public abstract void nodes_checkReturnedSetMutability(); /** * Verifies that the {@code Set} returned by {@code adjacentNodes} has the expected mutability * property (see the {@code Graph} documentation for more information). */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 17.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
Iterables.addAll(set, iterable); return set; } // HashSet /** * Creates a <i>mutable</i>, initially empty {@code HashSet} instance. * * <p><b>Note:</b> if mutability is not required, use {@link ImmutableSet#of()} instead. If {@code * E} is an {@link Enum} type, use {@link EnumSet#noneOf} instead. Otherwise, strongly consider
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 81.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Lists.java
* @since 2.0 */ @GwtCompatible public final class Lists { private Lists() {} // ArrayList /** * Creates a <i>mutable</i>, empty {@code ArrayList} instance. * * <p><b>Note:</b> if mutability is not required, use {@link ImmutableList#of()} instead. * * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 42.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
return CollectCollectors.toImmutableEnumMap(keyFunction, valueFunction, mergeFunction); } /** * Creates a <i>mutable</i>, empty {@code HashMap} instance. * * <p><b>Note:</b> if mutability is not required, use {@link ImmutableMap#of()} instead. * * <p><b>Note:</b> if {@code K} is an {@code enum} type, use {@link #newEnumMap} instead. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 163.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
return CollectCollectors.toImmutableEnumMap(keyFunction, valueFunction, mergeFunction); } /** * Creates a <i>mutable</i>, empty {@code HashMap} instance. * * <p><b>Note:</b> if mutability is not required, use {@link ImmutableMap#of()} instead. * * <p><b>Note:</b> if {@code K} is an {@code enum} type, use {@link #newEnumMap} instead. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 157.6K bytes - Viewed (0)