Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 1,928 for instanceof (1.03 sec)

  1. 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)
  2. 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)
  3. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

        @DisplayName("TestLocking can be instantiated")
        void testInstantiation() {
            TestLocking t = new TestLocking();
            assertNotNull(t, "TestLocking instance should not be null");
        }
    
        @Test
        @DisplayName("Field values are independent across instances")
        void testIndependentInstances() {
            TestLocking t1 = new TestLocking();
            TestLocking t2 = new TestLocking();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/audit/SecurityAuditLogger.java

        private static class SingletonHolder {
            private static final SecurityAuditLogger INSTANCE = new SecurityAuditLogger();
        }
    
        /**
         * Get the singleton instance
         *
         * @return SecurityAuditLogger instance
         */
        public static SecurityAuditLogger getInstance() {
            return SingletonHolder.INSTANCE;
        }
    
        private SecurityAuditLogger() {
            // Initialize event counters
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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. 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)
  9. 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)
  10. 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)
Back to top