Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1311 - 1320 of 1,407 for isInstance (0.08 sec)

  1. guava/src/com/google/common/collect/ImmutableMap.java

       * Collections#emptyMap}, and is preferable mainly for consistency and maintainability of your
       * code.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableMap<K, V> of() {
        return (ImmutableMap<K, V>) RegularImmutableMap.EMPTY;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

     */
    public class CrawlingInfoService {
    
        private static final Logger logger = LogManager.getLogger(CrawlingInfoService.class);
    
        /**
         * Creates a new instance of CrawlingInfoService.
         */
        public CrawlingInfoService() {
        }
    
        /**
         * Behavior handler for CrawlingInfoParam entities.
         * Used to perform database operations on crawling session parameters.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        assertThrows(IndexOutOfBoundsException.class, () -> iia3.subArray(1, 4));
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

            }
    
            @Test
            @DisplayName("Should have initial zero state")
            void shouldHaveInitialZeroState() {
                // Given - newly created instance
                FileFsSizeInformation freshInfo = new FileFsSizeInformation();
    
                // Then
                assertEquals(0L, freshInfo.getCapacity());
                assertEquals(0L, freshInfo.getFree());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NameTest.java

            assertEquals(18, length);
        }
    
        @Test
        void constructor_withNetbiosNameNotNameInstance_shouldNotCopySrcHashCode() {
            // Create a mock NetbiosName that is not a Name instance
            NetbiosName mockNetbiosName = mock(NetbiosName.class);
            when(mockNetbiosName.getName()).thenReturn("MOCKNAME");
            when(mockNetbiosName.getNameType()).thenReturn(0x20);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    public class SmbRandomAccessFileTest {
    
        // Helper: build a minimally wired instance with mocks; avoids real I/O
        private SmbRandomAccessFile newInstance(String mode, boolean smb2, boolean ntSmbsCap, boolean unshared) throws CIFSException {
            SmbFile file = mock(SmbFile.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

      static final String ERROR_ADDED_EXISTING_EDGE =
          "Reusing an existing edge to connect different nodes succeeded";
    
      /** Creates and returns an instance of the graph to be tested. */
      abstract Network<Integer, String> createGraph();
    
      /**
       * A proxy method that adds the node {@code n} to the graph being tested. In case of Immutable
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                }
            }
            return false;
        }
    
        /**
         * Creates a new LDAP user instance with the specified username and environment.
         *
         * @param username the username for the LDAP user
         * @param env the environment configuration for LDAP connection
         * @return a new LdapUser instance
         */
        protected LdapUser createLdapUser(final String username, final Hashtable<String, String> env) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

            assertEquals("inurl", QueryFieldConfig.INURL_FIELD);
            assertEquals("score", QueryFieldConfig.SCORE_SORT_VALUE);
        }
    
        public void test_constructor() {
            // Test that constructor creates a valid instance
            QueryFieldConfig config = new QueryFieldConfig();
            assertNotNull(config);
    
            // Verify initial state (fields should be null before init)
            assertNull(config.responseFields);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThrows(IndexOutOfBoundsException.class, () -> iia3.subArray(1, 4));
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
Back to top