Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 2,436 for instanceOf (0.07 seconds)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy

        }
    
        @Override
        Violation maybeViolation(JApiCompatibility member) {
    
            if (isNewOrRemoved(member) || !(member instanceof JApiMethod)) {
                return null
            }
    
            JApiMethod method = (JApiMethod) member
    
            def metadata = KotlinMetadataQueries.INSTANCE
    
            def oldMethod = method.oldMethod.get()
            def newMethod = method.newMethod.get()
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/AbstractTable.java

      abstract Iterator<Table.Cell<R, C, V>> cellIterator();
    
      @WeakOuter
      private final class CellSet extends AbstractSet<Cell<R, C, V>> {
        @Override
        public boolean contains(@Nullable Object o) {
          if (o instanceof Cell) {
            Cell<?, ?, ?> cell = (Cell<?, ?, ?>) o;
            Map<C, V> row = safeGet(rowMap(), cell.getRowKey());
            return row != null
                && Collections2.safeContains(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/TypeArtifactFilter.java

            hash = hash * 31 + type.hashCode();
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (obj instanceof TypeArtifactFilter other) {
                return type.equals(other.type);
            } else {
                return false;
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

            final Object value = document.get(fieldName);
            if (value instanceof String) {
                return new String[] { value.toString() };
            }
            if (value instanceof String[]) {
                return (String[]) value;
            }
            if (value instanceof List) {
                return ((List<?>) value).stream().map(Object::toString).toArray(String[]::new);
            }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 15.2K bytes
    - Click Count (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                cacheKey = new Key(session, request);
    
                Object obj = cache.get(session, cacheKey);
                if (obj instanceof Record record) {
                    result.setVersion(record.version);
                    result.setRepository(
                            getRepository(session, request.getRepositories(), record.repoClass, record.repoId));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  6. android/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)
  7. src/test/java/org/codelibs/fess/app/job/AllJobSchedulerTest.java

    public class AllJobSchedulerTest extends UnitFessTestCase {
    
        public void test_AllJobScheduler_implementsLaJobScheduler() {
            final AllJobScheduler scheduler = new AllJobScheduler();
            assertTrue(scheduler instanceof LaJobScheduler);
        }
    
        public void test_AllJobScheduler_creation() {
            final AllJobScheduler scheduler = new AllJobScheduler();
            assertNotNull(scheduler);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 12:58:11 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                    return SearchResult.create().build();
                } catch (final ExecutionException e) {
                    if (e.getCause() instanceof final InvalidQueryException iqe) {
                        throw iqe;
                    }
                    if (e.getCause() instanceof final ResultOffsetExceededException roee) {
                        throw roee;
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 25 02:13:14 GMT 2025
    - 28K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                    buffer[i] = (byte) (i % 256);
                }
    
                int result = resp.readDataWireFormat(buffer, 0, 40);
                assertNotNull(resp.info);
                assertTrue(resp.info instanceof Trans2QueryPathInformationResponse.SmbQueryFileBasicInfo);
            }
    
            @Test
            @DisplayName("Should read data for standard info level")
            void testReadDataStandardInfo() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/primitives/Shorts.java

          // Overridden to prevent a ton of boxing
          return (target instanceof Short) && Shorts.indexOf(array, (Short) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@Nullable Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Short) {
            int i = Shorts.indexOf(array, (Short) target, start, end);
            if (i >= 0) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 25.7K bytes
    - Click Count (0)
Back to Top