Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 1,610 for instanceof (0.26 seconds)

  1. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

        return MoreObjects.toStringHelper(ServiceManager.class)
            .add("services", Collections2.filter(services, not(instanceOf(NoOpService.class))))
            .toString();
      }
    
      /**
       * An encapsulation of all the mutable state of the {@link ServiceManager} that needs to be
       * accessed by instances of {@link ServiceListener}.
       */
      private static final class ServiceManagerState {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
  2. src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java

            // Execute
            final SsoMessageException exception = new SsoMessageException(messageCode, message);
    
            // Verify that it's an instance of FessSystemException
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
        }
    
        @Test
        public void test_stackTracePresence() {
            // Setup
            final String message = "Test stack trace";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/Graphs.java

       */
      public static <N> Graph<N> transpose(Graph<N> graph) {
        if (!graph.isDirected()) {
          return graph; // the transpose of an undirected graph is an identical graph
        }
    
        if (graph instanceof TransposedGraph) {
          return ((TransposedGraph<N>) graph).graph;
        }
    
        return new TransposedGraph<>(graph);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/app/web/api/ApiResultTest.java

            response.jobLogId("log-id-xyz").status(Status.OK);
            final ApiResult result = response.result();
            assertNotNull(result);
            assertNotNull(result.response);
            assertTrue(result.response instanceof ApiStartJobResponse);
            final ApiStartJobResponse resultResponse = (ApiStartJobResponse) result.response;
            assertEquals("log-id-xyz", resultResponse.jobLogId);
            assertEquals(0, resultResponse.status);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Queues.java

       * they are returned by the iterable's iterator.
       *
       * @since 12.0
       */
      public static <E> ArrayDeque<E> newArrayDeque(Iterable<? extends E> elements) {
        if (elements instanceof Collection) {
          return new ArrayDeque<>((Collection<? extends E>) elements);
        }
        ArrayDeque<E> deque = new ArrayDeque<>();
        Iterables.addAll(deque, elements);
        return deque;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 18K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/curl/CurlExceptionTest.java

            CurlException exception = new CurlException(message);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
            assertTrue(exception instanceof RuntimeException);
        }
    
        @Test
        public void testConstructorWithMessageAndCause() {
            String message = "Test error message";
            IOException cause = new IOException("IO error");
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Jul 31 01:01:12 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/StandardTable.java

          public boolean contains(@Nullable Object o) {
            if (o instanceof Entry) {
              Entry<?, ?> entry = (Entry<?, ?>) o;
              return containsMapping(entry.getKey(), columnKey, entry.getValue());
            }
            return false;
          }
    
          @Override
          public boolean remove(@Nullable Object obj) {
            if (obj instanceof Entry) {
              Entry<?, ?> entry = (Entry<?, ?>) obj;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/llm/LlmExceptionTest.java

        }
    
        @Test
        public void test_extendsFromFessSystemException() {
            final LlmException exception = new LlmException("Test");
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
        }
    
        @Test
        public void test_throwAndCatch() {
            boolean caught = false;
            try {
                throw new LlmException("Test exception");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 04:19:06 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/Suppliers.java

          @ParametricNullness T instance) {
        return new SupplierOfInstance<>(instance);
      }
    
      private static final class SupplierOfInstance<T extends @Nullable Object>
          implements Supplier<T>, Serializable {
        @ParametricNullness final T instance;
    
        SupplierOfInstance(@ParametricNullness T instance) {
          this.instance = instance;
        }
    
        @Override
        @ParametricNullness
        public T get() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  10. src/main/webapp/js/clipboard.min.js

    e.map.call(t,function(t){return i(t,e,n,o,r)}))}},879:function(t,n){n.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},n.nodeList=function(t){var e=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===e||"[object HTMLCollection]"===e)&&"length"in t&&(0===t.length||n.node(t[0]))},n.string=function(t){return"string"==typeof t||t instanceof String},n.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,n){var...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 12 06:14:02 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top