Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 781 - 790 of 1,946 for instanceof (0.14 seconds)

  1. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

                return 0;
            }
    
            @Override
            public boolean equals(Object o) {
                if (o == this) {
                    return true;
                }
                if (o == null || !(o instanceof MyKey)) {
                    return false;
                }
                return _key.equals(((MyKey) o)._key);
            }
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

      }
    
      @Override
      public String toString() {
        return "Hashing.murmur3_32(" + seed + ")";
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof Murmur3_32HashFunction) {
          Murmur3_32HashFunction other = (Murmur3_32HashFunction) object;
          return seed == other.seed && supplementaryPlaneFix == other.supplementaryPlaneFix;
        }
        return false;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

                lastCommandList = new ArrayList<>(cmdList);
    
                if (exception instanceof RuntimeException) {
                    throw (RuntimeException) exception;
                } else if (exception instanceof InterruptedException) {
                    Thread.currentThread().interrupt();
                    throw new RuntimeException(exception);
                }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 31.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(AccessTokenService.class).getAccessToken(((EditForm) form).id);
                }
                break;
            default:
                break;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

            Set<Artifact> resolvedArtifacts = resolveProjectArtifacts(
                    project, scopesToCollect, scopesToResolve, session, aggregating, projectArtifacts);
            if (resolvedArtifacts instanceof ProjectArtifactsCache.ArtifactsSetWithResult artifactsSetWithResult) {
                return artifactsSetWithResult.getResult();
            } else {
                throw new IllegalStateException();
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/Traverser.java

       *     one path between any two nodes
       */
      public static <N> Traverser<N> forTree(SuccessorsFunction<N> tree) {
        if (tree instanceof BaseGraph) {
          checkArgument(((BaseGraph<?>) tree).isDirected(), "Undirected graphs can never be trees.");
        }
        if (tree instanceof Network) {
          checkArgument(((Network<?, ?>) tree).isDirected(), "Undirected networks can never be trees.");
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(DataConfigService.class).getDataConfig(((EditForm) form).id);
                }
                break;
            default:
                break;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 21K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

            case CrudMode.CREATE:
                final StopwordsItem entity = new StopwordsItem(0, StringUtil.EMPTY);
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(StopwordsService.class).getStopwordsItem(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
    - 20.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/curl/CurlResponseTest.java

            CurlResponse response = new CurlResponse();
    
            try {
                response.getContentAsStream();
                fail("Expected CurlException");
            } catch (Exception e) {
                assertTrue(e instanceof CurlException);
                assertTrue(e.getMessage().contains("The content does not exist"));
            }
        }
    
        @Test
        public void testGetContentAsStreamWithContentException() {
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/CompactHashMap.java

       * references, which is particularly hard to quantify.
       */
    
      /** Creates an empty {@code CompactHashMap} instance. */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          CompactHashMap<K, V> create() {
        return new CompactHashMap<>();
      }
    
      /**
       * Creates a {@code CompactHashMap} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without growth.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 35.7K bytes
    - Click Count (0)
Back to Top