Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 30 for immutability (0.24 seconds)

  1. android/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)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Oct 11 14:54:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  2. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  3. 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
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            Secured secured = SecuredInterfaceImpl.class.getAnnotation(Secured.class);
            assertNull(secured); // Interface annotations are not inherited by implementing classes
        }
    
        // Test annotation array immutability
        @Test
        public void test_annotationValueImmutability() {
            Secured secured = MultipleRolesClass.class.getAnnotation(Secured.class);
            String[] roles1 = secured.value();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  5. docs/bucket/versioning/README.md

        }
      }
    }
    ```
    
    ## Explore Further
    
    - [Use `minio-java` SDK with MinIO Server](https://docs.min.io/community/minio-object-store/developers/java/minio-java.html)
    - [Object Lock and Immutability Guide](https://docs.min.io/community/minio-object-store/administration/object-management/object-retention.html)
    - [MinIO Admin Complete Guide](https://docs.min.io/community/minio-object-store/reference/minio-mc-admin.html)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 12K bytes
    - Click Count (0)
  6. 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);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  7. 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)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  8. 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 positions
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  9. 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));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  10. 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.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
Back to Top