Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 1,610 for instanceof (0.32 seconds)

  1. android/guava-tests/test/com/google/common/base/EnumsTest.java

        assertFalse(bar.isAnnotationPresent(ExampleAnnotation.class));
      }
    
      @J2ktIncompatible
      private URL[] getClassPathUrls() {
        ClassLoader classLoader = getClass().getClassLoader();
        return classLoader instanceof URLClassLoader
            ? ((URLClassLoader) classLoader).getURLs()
            : parseJavaClassPath().toArray(new URL[0]);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 01:05:11 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/graph/ImmutableGraph.java

        this.backingGraph = backingGraph;
      }
    
      /** Returns an immutable copy of {@code graph}. */
      public static <N> ImmutableGraph<N> copyOf(Graph<N> graph) {
        return (graph instanceof ImmutableGraph)
            ? (ImmutableGraph<N>) graph
            : new ImmutableGraph<N>(
                new StandardValueGraph<N, Presence>(
                    GraphBuilder.from(graph), getNodeConnections(graph), graph.edges().size()));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

        @Test
        public void test_crawl_with_force_stop() {
            // Set force stop to true immediately to avoid thread operations
            SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            if (systemHelper instanceof org.codelibs.fess.helper.DataIndexHelperTest.TestSystemHelper) {
                ((org.codelibs.fess.helper.DataIndexHelperTest.TestSystemHelper) systemHelper).setForceStop(true);
            }
    
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            // Should not match second excluded path
            assertFalse(pattern.match("/deny/path"));
        }
    
        @Test
        public void test_labelTypeHelper_inheritance() {
            assertTrue(labelTypeHelper instanceof AbstractConfigHelper);
        }
    
        @Test
        public void test_load_returnValue() {
            int result = labelTypeHelper.load();
            assertEquals(2, result); // Based on mock data
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableList.java

       */
      public static <E> ImmutableList<E> copyOf(Iterable<? extends E> elements) {
        checkNotNull(elements); // TODO(kevinb): is this here only for GWT?
        return (elements instanceof Collection)
            ? copyOf((Collection<? extends E>) elements)
            : copyOf(elements.iterator());
      }
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ArrayListMultimap.java

        this.expectedValuesPerKey = expectedValuesPerKey;
      }
    
      private ArrayListMultimap(Multimap<? extends K, ? extends V> multimap) {
        this(
            multimap.keySet().size(),
            (multimap instanceof ArrayListMultimap)
                ? ((ArrayListMultimap<?, ?>) multimap).expectedValuesPerKey
                : DEFAULT_VALUES_PER_KEY);
        putAll(multimap);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/ExecJobTest.java

                fail("Should throw IORuntimeException");
            } catch (IORuntimeException e) {
                assertNotNull(e.getCause());
                assertTrue(e.getCause() instanceof IOException);
            }
        }
    
        // Test getLogName method
        @Test
        public void test_getLogName() {
            // Test without suffix
            execJob.logSuffix = "";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/Ascii.java

       * without modification.
       *
       * @since 14.0
       */
      public static String toLowerCase(CharSequence chars) {
        if (chars instanceof String) {
          return toLowerCase((String) chars);
        }
        char[] newChars = new char[chars.length()];
        for (int i = 0; i < newChars.length; i++) {
          newChars[i] = toLowerCase(chars.charAt(i));
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/base/PredicatesTest.java

            .addEqualityGroup(Predicates.instanceOf(Number.class))
            .addEqualityGroup(Predicates.instanceOf(Float.class))
            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Predicates.instanceOf, SerializableTester
      public void testIsInstanceOf_serialization() {
        checkSerialization(Predicates.instanceOf(Integer.class));
      }
    
      @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 32.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

            // If the delegate is directExecutor(), the submitted runnable could have thrown a REE. But
            // that's handled by the log check that catches RuntimeExceptions in the queue worker.
            if (!(t instanceof RejectedExecutionException) || removed) {
              throw t;
            }
          }
          return;
        }
    
        /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.6K bytes
    - Click Count (0)
Back to Top