Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for instantiable (0.2 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaProviderFactory.java

     */
    public class RdmaProviderFactory {
    
        /**
         * Private constructor to prevent instantiation
         */
        private RdmaProviderFactory() {
            // Factory class - not instantiable
        }
    
        private static final Logger log = LoggerFactory.getLogger(RdmaProviderFactory.class);
    
        /**
         * Create RDMA provider based on preference string
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/Base64.java

     */
    public class Base64 {
    
        /**
         * Private constructor to prevent instantiation of this utility class.
         */
        private Base64() {
            // Utility class - not instantiable
        }
    
        private static final String ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
    
        /**
         * Base-64 encodes the supplied block of data.  Line wrapping is not
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/BufferCache.java

     */
    public class BufferCache {
    
        /**
         * Private constructor to prevent instantiation of this utility class.
         */
        private BufferCache() {
            // Utility class - not instantiable
        }
    
        private static final int MAX_BUFFERS = Config.getInt("jcifs.smb1.smb.maxBuffers", 16);
        private static final int MAX_BUFFER_SIZE = 0x100000; // 1MB maximum
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Config.java

     *
     */
    public class Config {
    
        /**
         * Private constructor to prevent instantiation of this utility class.
         */
        private Config() {
            // Utility class - not instantiable
        }
    
        private static final Logger log = LoggerFactory.getLogger(Config.class);
    
        /**
         * This static method registers the SMB URL protocol handler which is
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/StringsTest.java

                    assertEquals(original, uniRoundTrip, "UNI round-trip should preserve content: " + original);
                }
            }
    
            @Test
            @DisplayName("Strings utility class should not be instantiable")
            void testUtilityClassNotInstantiable() {
                // Given - Strings is a utility class with private constructor
    
                // When & Then - verify constructor is private by reflection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

            () -> tester.instantiate(FactoryMethodReturnsNullAndAnnotated.class));
      }
    
      public void testInstantiate_factoryMethodAcceptsNull() throws Exception {
        assertNull(tester.instantiate(FactoryMethodAcceptsNull.class).name);
      }
    
      public void testInstantiate_factoryMethodDoesNotAcceptNull() throws Exception {
        assertNotNull(tester.instantiate(FactoryMethodDoesNotAcceptNull.class).name);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          nullPointerTester.testConstructors(cls, visibility);
        }
        nullPointerTester.testStaticMethods(cls, visibility);
        if (hasInstanceMethodToTestNulls(cls, visibility)) {
          Object instance = instantiate(cls);
          if (instance != null) {
            nullPointerTester.testInstanceMethods(instance, visibility);
          }
        }
      }
    
      private boolean hasInstanceMethodToTestNulls(Class<?> c, Visibility visibility) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          nullPointerTester.testConstructors(cls, visibility);
        }
        nullPointerTester.testStaticMethods(cls, visibility);
        if (hasInstanceMethodToTestNulls(cls, visibility)) {
          Object instance = instantiate(cls);
          if (instance != null) {
            nullPointerTester.testInstanceMethods(instance, visibility);
          }
        }
      }
    
      private boolean hasInstanceMethodToTestNulls(Class<?> c, Visibility visibility) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java

          return ImmutableBiMap.copyOf(asList(entries));
        }
      }
    
      /**
       * Useless constructor for a class of static utility methods.
       *
       * @deprecated Do not instantiate this utility class.
       */
      @Deprecated
      public BiMapGenerators() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java

          return ImmutableBiMap.copyOf(asList(entries));
        }
      }
    
      /**
       * Useless constructor for a class of static utility methods.
       *
       * @deprecated Do not instantiate this utility class.
       */
      @Deprecated
      public BiMapGenerators() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top