Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 1,889 for instanceOf (0.24 sec)

  1. android/guava/src/com/google/common/io/ByteSource.java

     * immutable <i>supplier</i> of {@code InputStream} instances.
     *
     * <p>{@code ByteSource} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a stream:</b> These methods should return a <i>new</i>, independent
     *       instance each time they are called. The caller is responsible for ensuring that the
     *       returned stream is closed.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            Object logger = loggerField.get(null); // static field
    
            // Verify logger is not null
            assertNotNull(logger);
    
            // Verify logger is of the expected type
            assertTrue(logger instanceof org.apache.logging.log4j.Logger);
        }
    
        // Test concurrent execution of hook method
        public void test_hook_concurrentExecution() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

        final int value;
    
        Impl(int value) {
          this.value = value;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return obj instanceof Impl && value == ((Impl) obj).value;
        }
    
        @Override
        public int hashCode() {
          return value;
        }
    
        @Override
        public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableTable.java

        }
    
        @Override
        Cell<R, C, V> get(int index) {
          return getCell(index);
        }
    
        @Override
        public boolean contains(@Nullable Object object) {
          if (object instanceof Cell) {
            Cell<?, ?, ?> cell = (Cell<?, ?, ?>) object;
            Object value = RegularImmutableTable.this.get(cell.getRowKey(), cell.getColumnKey());
            return value != null && value.equals(cell.getValue());
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 08 13:05:15 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/log/Logger.java

         */
        protected static String toString(final Object message) {
            if (message == null) {
                return "null";
            }
            if (message instanceof String) {
                return (String) message;
            }
            return message.toString();
        }
    
        /**
         * The message to be logged.
         *
         * @author koichik
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<Integer> source = asList(1, 2, 3).iterator();
        Iterator<List<Integer>> partitions = Iterators.partition(source, 2);
        assertTrue(partitions.next() instanceof RandomAccess);
        assertTrue(partitions.next() instanceof RandomAccess);
      }
    
      public void testPaddedPartition_badSize() {
        Iterator<Integer> source = singletonIterator(1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/MIENameTest.java

        void invalidInputsThrow(String name, Object bufferSupplierOrBytes, Class<? extends Throwable> expected) {
            // Arrange
            byte[] buf;
            if (bufferSupplierOrBytes instanceof byte[]) {
                buf = (byte[]) bufferSupplierOrBytes;
            } else {
                @SuppressWarnings("unchecked")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java

            } catch (IllegalArgumentException e) {
                // Expected
            }
        }
    
        // Test inheritance
        public void test_inheritance() {
            assertTrue(messages instanceof FessLabels);
            assertTrue(messages instanceof org.lastaflute.core.message.UserMessages);
        }
    
        // Test method chaining
        public void test_methodChaining() {
            String property1 = "prop1";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

                assertTrue(context instanceof NegotiateContextRequest);
            }
    
            @Test
            @DisplayName("Should implement NegotiateContextResponse interface")
            void testImplementsNegotiateContextResponse() {
                PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext();
    
                assertTrue(context instanceof NegotiateContextResponse);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Ascii.java

       * without modification.
       *
       * @since 14.0
       */
      public static String toLowerCase(CharSequence chars) {
        if (chars instanceof String) {
          return toLowerCase((String) chars);
        }
        char[] newChars = new char[chars.length()];
        for (int i = 0; i < newChars.length; i++) {
          newChars[i] = toLowerCase(chars.charAt(i));
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
Back to top