Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,776 for instanceOf (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

                        } else if (value instanceof TestUser) {
                            // Handle TestUser object
                            TestUser user = (TestUser) value;
                            result = result.replace("${" + key + ".name}", user.name);
                            result = result.replace("${" + key + ".age}", String.valueOf(user.age));
                        } else if (value instanceof Map) {
                            // Handle nested maps
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

        //            (__)\       )\/\
        //                ||----w |
        //                ||     ||
        Runnable state = get();
        Blocker blocker = null;
        while (state instanceof Blocker || state == PARKED) {
          if (state instanceof Blocker) {
            blocker = (Blocker) state;
          }
          spinCount++;
          if (spinCount > MAX_BUSY_WAIT_SPINS) {
            /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

            if (src == null) {
                return null;
            }
            if (src instanceof java.sql.Date) {
                return (java.sql.Date) src;
            }
            if (src instanceof Date) {
                return new java.sql.Date(((Date) src).getTime());
            }
            if (src instanceof Calendar) {
                return new java.sql.Date(((Calendar) src).getTimeInMillis());
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java

            QueryBuilder queryBuilder = queryCommand.convertWildcardQuery(queryContext, wildcardQuery, 1.0f);
            assertNotNull(queryBuilder);
            assertTrue(queryBuilder instanceof DefaultQueryBuilder);
    
            // Query was processed successfully
        }
    
        public void test_convertWildcardQuery_defaultField_dismax() throws Exception {
            // Test with default field
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. 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)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            if (e.getCause() instanceof MultipleArtifactsNotFoundException) {
                return true;
            }
            return e.getCause() instanceof org.eclipse.aether.resolution.ArtifactResolutionException
                    && e.getCause().getCause() instanceof ArtifactNotFoundException;
        }
    
        private boolean isNonTransferablePom(Exception e) {
            if (e.getCause() instanceof ArtifactResolutionException) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 30.4K bytes
    - Viewed (0)
Back to top