Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,926 for instanceof (0.11 sec)

  1. src/test/java/org/codelibs/fess/util/DocListTest.java

        }
    
        public void test_inheritance() {
            DocList docList = new DocList();
    
            assertTrue(docList instanceof java.util.ArrayList);
            assertTrue(docList instanceof java.util.List);
            assertTrue(docList instanceof java.util.Collection);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/MoreObjects.java

          // Put types estimated to be the most frequent first.
          if (value instanceof CharSequence) {
            return ((CharSequence) value).length() == 0;
          } else if (value instanceof Collection) {
            return ((Collection<?>) value).isEmpty();
          } else if (value instanceof Map) {
            return ((Map<?, ?>) value).isEmpty();
          } else if (value instanceof Optional) {
            return !((Optional) value).isPresent();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/TraverserUtilTest.java

        public void testFromClass_FileSystem() throws Exception {
            final Traverser traverser = TraversalUtil.getTraverser(DummyTest.class);
            assertThat(traverser, is(notNullValue()));
            assertThat(traverser instanceof FileSystemTraverser, is(true));
    
            assertThat(traverser.isExistClass(DummyTest.class.getName()), is(true));
            assertThat(traverser.isExistClass(TestCase.class.getName()), is(not(true)));
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            assertTrue(exception instanceof java.io.Serializable);
        }
    
        public void test_exceptionInheritance() {
            // Test that exception is a RuntimeException
            UserRoleLoginException exception = new UserRoleLoginException(RootAction.class);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Predicates.java

       * example, {@code instanceOf(ArrayList.class)} will yield different results for the two equal
       * instances {@code Lists.newArrayList(1)} and {@code Arrays.asList(1)}.
       *
       * <p><b>Discouraged:</b> Prefer using {@code clazz::isInstance} or {@code x -> x instanceof
       * Clazz}, but note that lambdas do not have human-readable {@link #toString()} representations
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

            verify(tree, times(1)).send(argThat((Request<?> r) -> r instanceof Smb2CreateRequest));
            verify(tree, times(2)).send(argThat((Request<?> r) -> r instanceof Smb2QueryDirectoryRequest));
            verify(tree, times(1)).send(argThat((Request<?> r) -> r instanceof Smb2CloseRequest));
        }
    
        @Test
        @DisplayName("fetchMore() handles NT_STATUS_NO_MORE_FILES via exception")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

        Iterable<? extends E> iterable = elements;
        return copyOf(iterable);
      }
    
      public static <E> ImmutableSet<E> copyOf(Iterable<? extends E> elements) {
        if (elements instanceof ImmutableSet && !(elements instanceof ImmutableSortedSet)) {
          @SuppressWarnings("unchecked") // all supported methods are covariant
          ImmutableSet<E> set = (ImmutableSet<E>) elements;
          return set;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterables.java

        if (iterable instanceof Collection) {
          Collection<? extends T> c = (Collection<? extends T>) iterable;
          if (c.isEmpty()) {
            return defaultValue;
          } else if (iterable instanceof List) {
            return getLastInNonemptyList((List<? extends T>) iterable);
          } else if (iterable instanceof SortedSet) {
            return ((SortedSet<? extends T>) iterable).last();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

            final String mimeType;
            if (response instanceof HtmlResponse) {
                mimeType = "text/html";
            } else if (response instanceof JsonResponse) {
                mimeType = "application/json";
            } else if (response instanceof XmlResponse) {
                mimeType = "text/xml";
            } else if (response instanceof StreamResponse) {
                mimeType = "application/octet-stream";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/Types.java

       * called on the {@code TypeVariable} instance has the same name as one of the public methods of
       * {@link TypeVariableImpl}, the proxy calls the same method on its instance of {@code
       * TypeVariableImpl}. Otherwise it throws {@link UnsupportedOperationException}; this should only
       * apply to {@code getAnnotatedBounds()}. This does mean that users on Java who obtain an instance
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
Back to top