Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 1,610 for instanceof (0.48 seconds)

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

      /** Makes an entry usable internally by a new ImmutableMap without rereading its contents. */
      static <K, V> ImmutableMapEntry<K, V> makeImmutable(Entry<K, V> entry, K key, V value) {
        boolean reusable =
            entry instanceof ImmutableMapEntry && ((ImmutableMapEntry<K, V>) entry).isReusable();
        return reusable ? (ImmutableMapEntry<K, V>) entry : new ImmutableMapEntry<K, V>(key, value);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  2. 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
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

      public static <V extends @Nullable Object> ListenableFuture<V> immediateCancelledFuture() {
        ListenableFuture<Object> instance = ImmediateCancelledFuture.INSTANCE;
        if (instance != null) {
          return (ListenableFuture<V>) instance;
        }
        return new ImmediateCancelledFuture<>();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 64.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                } catch (final ClientAbortException e) {
                    logger.debug("Client aborts this request.", e);
                }
            } catch (final Exception e) {
                if (!(e.getCause() instanceof ClientAbortException)) {
                    throw new WebApiException(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, e);
                }
                logger.debug("Client aborts this request.", e);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:40 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

                if (session != null) {
                    final Object resultsPerPage = session.getAttribute(Constants.RESULTS_PER_PAGE);
                    if (resultsPerPage instanceof Integer) {
                        form.num = (Integer) resultsPerPage;
                    }
                }
            }
    
            if (StringUtil.isBlank(form.q) && form.fields.isEmpty() && !form.hasConditionQuery()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 14K bytes
    - Click Count (0)
  6. 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.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

            return TermQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final TermQuery termQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("TermQuery: query={}, boost={}", query, boost);
                }
                return convertTermQuery(context, termQuery, boost);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

                final CharMappingItem entity = new CharMappingItem(0, StringUtil.EMPTY_STRINGS, StringUtil.EMPTY);
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(CharMappingService.class).getCharMappingItem(form.dictId, ((EditForm) form).id);
                }
                break;
            default:
                break;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/net/HostAndPort.java

        return this;
      }
    
      @Override
      public boolean equals(@Nullable Object other) {
        if (this == other) {
          return true;
        }
        if (other instanceof HostAndPort) {
          HostAndPort that = (HostAndPort) other;
          return Objects.equals(this.host, that.host) && this.port == that.port;
        }
        return false;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java

                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(PathMappingService.class).getPathMapping(((EditForm) form).id);
                }
                break;
            default:
                break;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 15.4K bytes
    - Click Count (0)
Back to Top