Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 2,446 for instanceOf (0.92 sec)

  1. src/main/java/org/codelibs/fess/opensearch/log/exentity/SearchLog.java

            return sourceMap;
        }
    
        @Override
        protected void addFieldToSource(final Map<String, Object> sourceMap, final String field, final Object value) {
            if (value instanceof final LocalDateTime ldt) {
                final ZonedDateTime zdt = ZonedDateTime.of(ldt, ZoneId.systemDefault());
                super.addFieldToSource(sourceMap, field, DateTimeFormatter.ISO_INSTANT.format(zdt));
            } else {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingMapEntry.java

       * #equals(Object)} to forward to this implementation.
       *
       * @since 7.0
       */
      protected boolean standardEquals(@Nullable Object object) {
        if (object instanceof Entry) {
          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equals(this.getKey(), that.getKey())
              && Objects.equals(this.getValue(), that.getValue());
        }
        return false;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                return false;
            }
    
            PreauthIntegrityNegotiateContext rpc = null;
            for (final NegotiateContextRequest rnc : req.getNegotiateContexts()) {
                if (rnc instanceof PreauthIntegrityNegotiateContext) {
                    rpc = (PreauthIntegrityNegotiateContext) rnc;
                }
            }
            if (rpc == null) {
                return false;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/InternersTest.java

        MyInt(int i) {
          this.i = i;
        }
    
        @Override
        public int hashCode() {
          return i;
        }
    
        @Override
        public boolean equals(Object o) {
          return o instanceof MyInt && ((MyInt) o).i == i;
        }
      }
    
      public void testAsFunction_simplistic() {
        String canonical = "a";
        String not = new String("a");
    
        Function<String, String> internerFunction =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 17:02:07 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        final int hash;
    
        Element(int hash) {
          this.hash = hash;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return this == obj || (obj instanceof Element && ((Element) obj).hash == hash);
        }
    
        @Override
        public int hashCode() {
          return hash;
        }
    
        @Override
        public int compareTo(Element that) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

                fail("Should throw exception when no channels available");
            } catch (Exception e) {
                // Expected - no channels available
                assertTrue(e instanceof ChannelLoadBalancer.NoAvailableChannelException);
            }
        }
    
        @Test
        void testRemoveChannel() throws UnknownHostException {
            InetAddress addr = InetAddress.getByName("192.168.1.100");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        final int value;
    
        Collider(int value) {
          this.value = value;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return obj instanceof Collider && ((Collider) obj).value == value;
        }
    
        @Override
        public int hashCode() {
          return 1; // evil!
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

        }
    
        return derivedSuites;
      }
    
      @Override
      protected SetTestSuiteBuilder<K> createDerivedKeySetSuite(TestSetGenerator<K> keySetGenerator) {
        return keySetGenerator instanceof TestSortedSetGenerator
            ? SortedSetTestSuiteBuilder.using((TestSortedSetGenerator<K>) keySetGenerator)
            : SetTestSuiteBuilder.using(keySetGenerator);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MarkdownExtractor.java

                    final StringBuilder headingText = new StringBuilder();
                    Node child = heading.getFirstChild();
                    while (child != null) {
                        if (child instanceof Text) {
                            headingText.append(((Text) child).getLiteral());
                        }
                        child = child.getNext();
                    }
                    if (headingText.length() > 0) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

                return new PathSource(path.resolve(relative));
            }
    
            @Override
            public boolean equals(Object o) {
                return o == this || o instanceof PathSource that && Objects.equals(path, that.path);
            }
    
            @Override
            public int hashCode() {
                return Objects.hash(path);
            }
    
            @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top