Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 1,276 for instanceof (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionAggregation.java

        //                                                                       =============
        protected void checkEsInvalidAggregation(String name, Object value) {
            if (value == null || (value instanceof String && ((String) value).isEmpty())) {
                String msg = "Cannot register null or empty aggregation: name=" + name + " value=" + value;
                throw new InvalidQueryRegisteredException(msg);
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

        public int hashCode() {
          onHashCode.run();
          return delegateString.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object other) {
          onEquals.run();
          return other instanceof CountsHashCodeAndEquals
              && delegateString.equals(((CountsHashCodeAndEquals) other).delegateString);
        }
    
        @Override
        public int compareTo(CountsHashCodeAndEquals o) {
          onCompareTo.run();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

        waitingThread.start();
        waitingThread.interrupt();
        ExecutionException expected = assertThrows(ExecutionException.class, wasInterrupted::get);
        assertTrue(expected.getCause().toString(), expected.getCause() instanceof InterruptedException);
      }
    
      public void testMakeUninterruptible_timedGetZeroTimeoutAttempted()
          throws TimeoutException, ExecutionException {
        SettableFuture<String> future = SettableFuture.create();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/RegularContiguousSet.java

            range.upperBound.withUpperBoundType(upperBoundType, domain));
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        } else if (object instanceof RegularContiguousSet) {
          RegularContiguousSet<?> that = (RegularContiguousSet<?>) object;
          if (this.domain.equals(that.domain)) {
            return this.first().equals(that.first()) && this.last().equals(that.last());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

        }
    
        @Override
        public int hashCode() {
          return Objects.hash(duration, unit);
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          if (o instanceof DurationSpec) {
            DurationSpec that = (DurationSpec) o;
            return unit.toNanos(duration) == that.unit.toNanos(that.duration);
          }
          return false;
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

            if (obj == null) {
                return null;
            }
    
            List<String> anchorList;
            if (obj instanceof final String s) {
                anchorList = List.of(s);
            } else if (obj instanceof final List<?> l) {
                anchorList = l.stream().filter(item -> item != null).map(String::valueOf).toList();
            } else {
                return null;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/timer/TimeoutManager.java

        private TimeoutManager() {
        }
    
        /**
         * Returns the instance for the singleton.
         *
         * @return the instance for the singleton
         */
        public static TimeoutManager getInstance() {
            return instance;
        }
    
        /**
         * Starts the process.
         */
        public synchronized void start() {
            if (thread == null) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/graph/ElementOrder.java

        this.comparator = comparator;
        checkState((type == Type.SORTED) == (comparator != null));
      }
    
      /** Returns an instance which specifies that no ordering is guaranteed. */
      public static <S> ElementOrder<S> unordered() {
        return new ElementOrder<>(Type.UNORDERED, null);
      }
    
      /**
       * Returns an instance which specifies that ordering is guaranteed to be always be the same across
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

                        Object value = field.get(null);
                        assertNotNull(value, "Field " + field.getName() + " should not be null");
                        assertTrue(value instanceof HtmlNext, "Field " + field.getName() + " should be HtmlNext instance");
                    }
                }
            }
        }
    
        @Test
        public void test_pathValues() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            assertNotNull(listResult);
            assertTrue(listResult instanceof java.util.List);
    
            // Map
            final Object mapResult = groovyEngine.evaluate("return [key: 'value']", params);
            assertNotNull(mapResult);
            assertTrue(mapResult instanceof java.util.Map);
        }
    
        // ===== Cache Tests =====
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
Back to Top