- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for immutability (0.05 sec)
-
guava/src/com/google/common/hash/HashCode.java
* Returns a mutable view of the underlying bytes for the given {@code HashCode} if it is a * byte-based hashcode. Otherwise it returns {@link HashCode#asBytes}. Do <i>not</i> mutate this * array or else you will break the immutability contract of {@code HashCode}. */ byte[] getBytesInternal() { return asBytes(); } /** * Returns whether this {@code HashCode} and that {@code HashCode} have the same value, given thatRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
* Returns a mutable view of the underlying bytes for the given {@code HashCode} if it is a * byte-based hashcode. Otherwise it returns {@link HashCode#asBytes}. Do <i>not</i> mutate this * array or else you will break the immutability contract of {@code HashCode}. */ byte[] getBytesInternal() { return asBytes(); } /** * Returns whether this {@code HashCode} and that {@code HashCode} have the same value, given thatRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableEnumSet.java
* know that calling {@code clone()} during deserialization will return an * object that no one else has a reference to, allowing us to guarantee * immutability. Hence, we support only {@link EnumSet}. */ private final transient EnumSet<E> delegate; private ImmutableEnumSet(EnumSet<E> delegate) { this.delegate = delegate; } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* package, whether it is a subtype of {@code ImmutableCollection} or not. * * <h4>Guarantees</h4> * * <p>Each makes the following guarantees: * * <ul> * <li><b>Shallow immutability.</b> Elements can never be added, removed or replaced in this * collection. This is a stronger guarantee than that of {@link * Collections#unmodifiableCollection}, whose contents change whenever the wrapped collectionRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
README.md
centers. OkHttp supports modern TLS features (TLS 1.3, ALPN, certificate pinning). It can be configured to fall back for broad connectivity. Using OkHttp is easy. Its request/response API is designed with fluent builders and immutability. It supports both synchronous blocking calls and async calls with callbacks. A well behaved user agent ------------------------- OkHttp follows modern HTTP specifications such as
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 21:39:59 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
// Then assertEquals(bytes1, bytes2); assertEquals(SMBUtil.readInt2(buffer1, 0), SMBUtil.readInt2(buffer2, 10)); } @Test @DisplayName("Should maintain immutability of structure size") void testStructureSizeImmutability() { // Given Configuration mockConfig = mock(Configuration.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
/** * An immutable array of {@code int} values, with an API resembling {@link List}. * * <p>Advantages compared to {@code int[]}: * * <ul> * <li>All the many well-known advantages of immutability (read <i>Effective Java</i>, third * edition, Item 17). * <li>Has the value-based (not identity-based) {@link #equals}, {@link #hashCode}, and {@link * #toString} behavior you expect.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 21.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
/** * An immutable array of {@code long} values, with an API resembling {@link List}. * * <p>Advantages compared to {@code long[]}: * * <ul> * <li>All the many well-known advantages of immutability (read <i>Effective Java</i>, third * edition, Item 17). * <li>Has the value-based (not identity-based) {@link #equals}, {@link #hashCode}, and {@link * #toString} behavior you expect.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 22K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
// Test prepare method (should not throw exception) assertDoesNotThrow(() -> response.prepare(mockRequest)); } @Test @DisplayName("Test NotifyResponse returned list immutability") void testNotifyResponseListImmutability() { List<FileNotifyInformation> inputList = new ArrayList<>(Arrays.asList(mockNotifyInfo1, mockNotifyInfo2));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
// Then assertEquals(1024L * 1024L * 1024L * 60L, used); // 60GB used } @Test @DisplayName("Should maintain immutability") void shouldMaintainImmutability() { // Given long capacity = 1000L; long free = 500L; TestAllocInfo allocInfo = new TestAllocInfo(capacity, free);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0)