Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 1,610 for instanceof (0.11 seconds)

  1. src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java

        @Test
        public void test_assistBehaviorExceptionThrower() {
            BehaviorExceptionThrower result = invokerAssistant.assistBehaviorExceptionThrower();
            assertNotNull(result);
            assertTrue(result instanceof BehaviorExceptionThrower);
        }
    
        // Test assistGearedCipherManager
        @Test
        public void test_assistGearedCipherManager() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                fail("Expected exception for empty command list");
            } catch (Exception e) {
                // Expected - empty command list should cause exception
                assertTrue(e instanceof JobProcessingException || e instanceof IndexOutOfBoundsException);
            }
        }
    
        @Test
        public void test_nullCallback() {
            String sessionId = "test_null_callback";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

          Collection<E> collection) {
        if (collection instanceof NavigableSet) {
          return unmodifiableNavigableSet((NavigableSet<E>) collection);
        } else {
          return unmodifiableSortedSet((SortedSet<E>) collection);
        }
      }
    
      @Override
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        if (collection instanceof NavigableSet) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 20 13:05:10 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

      public static <K, V> ImmutableMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        if ((map instanceof ImmutableMap) && !(map instanceof ImmutableSortedMap)) {
          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableMap<K, V> kvMap = (ImmutableMap<K, V>) map;
          return kvMap;
        } else if (map instanceof EnumMap) {
          EnumMap<?, ?> enumMap = (EnumMap<?, ?>) map;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:51:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/Chars.java

          // Overridden to prevent a ton of boxing
          return (target instanceof Character)
              && Chars.indexOf(array, (Character) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@Nullable Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Character) {
            int i = Chars.indexOf(array, (Character) target, start, end);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/TrustedInputFutureTest.java

      @Override
      AbstractFuture<@Nullable Integer> newDelegate() {
        AbstractFuture<@Nullable Integer> future = new TrustedFuture<@Nullable Integer>() {};
        assertTrue(future instanceof TrustedFuture); // sanity check
        return future;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/UntrustedInputFutureTest.java

      @Override
      AbstractFuture<@Nullable Integer> newDelegate() {
        AbstractFuture<@Nullable Integer> future = new AbstractFuture<@Nullable Integer>() {};
        assertFalse(future instanceof TrustedFuture); // sanity check
        return future;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

       * future is {@linkplain Future#isDone() done}.
       *
       * <p>Prefer to create {@code ListenableFuture} instances with {@link SettableFuture}, {@link
       * MoreExecutors#listeningDecorator( java.util.concurrent.ExecutorService)}, {@link
       * ListenableFutureTask}, {@link AbstractFuture}, and other utilities over creating plain {@code
       * Future} instances to be upgraded to {@code ListenableFuture} after the fact.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

            return AbstractBaseGraph.this.edges();
          }
    
          @Override
          public Graph<N> asGraph() {
            if (AbstractBaseGraph.this instanceof Graph) {
              return (Graph<N>) AbstractBaseGraph.this;
            } else if (AbstractBaseGraph.this instanceof ValueGraph) {
              return ((ValueGraph<N, ?>) AbstractBaseGraph.this).asGraph();
            }
            throw new UnsupportedOperationException(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Maps.java

        // implementation, it _may_ require iteration over the entire collection (e.g., a
        // FilteredCollection), which we want to avoid.
        if (values instanceof List || values instanceof ImmutableCollection) {
          return uniqueIndex(
              values.iterator(),
              keyFunction,
              ImmutableMap.builderWithExpectedSize(((Collection<?>) values).size()));
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
Back to Top