Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 2,446 for instanceOf (0.05 sec)

  1. 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;
        }
    
        /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. 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;
        }
    
        /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

                } catch (Exception e) {
                    log.error("Failed to redistribute operation", e);
                    // Notify waiting threads of failure if the operation supports it
                    if (op instanceof CommonServerMessageBlock) {
                        // Handle operation failure appropriately
                        notifyOperationFailure(op, e);
                    }
                }
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

        }
    
        @Override
        ImmutableBiMap<K, V> buildJdkBacked() {
          return build();
        }
      }
    
      public static <K, V> ImmutableBiMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        if (map instanceof ImmutableBiMap) {
          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map;
          return bimap;
        }
    
        if (map.isEmpty()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                        artifacts.put(artifact.getDependencyConflictId(), artifact);
                    }
                }
    
                List<Dependency> dependencies = new ArrayList<>();
                if (request.getArtifact() instanceof ArtifactWithDependencies artifactWithDependencies) {
                    dependencies = artifactWithDependencies.getDependencies();
                } else {
                    Artifact pomArtifact = createProjectArtifact(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/UrlQueueImplTest.java

        }
    
        public void test_interfaceImplementation() {
            // Test that UrlQueueImpl implements UrlQueue
            UrlQueueImpl<Long> queue = new UrlQueueImpl<>();
            assertTrue(queue instanceof UrlQueue);
        }
    
        public void test_genericTypeFlexibility() {
            // Test with different generic types
            UrlQueueImpl<Integer> intQueue = new UrlQueueImpl<>();
            intQueue.setId(42);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularContiguousSet.java

            range.upperBound.withUpperBoundType(upperBoundType, domain));
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        } else if (object instanceof RegularContiguousSet) {
          RegularContiguousSet<?> that = (RegularContiguousSet<?>) object;
          if (this.domain.equals(that.domain)) {
            return this.first().equals(that.first()) && this.last().equals(that.last());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        public int compareTo(ClassWithTerribleHashCode that) {
          return Integer.compare(this.value, that.value);
        }
    
        @Override
        public boolean equals(@Nullable Object x) {
          return x instanceof ClassWithTerribleHashCode
              && ((ClassWithTerribleHashCode) x).value == value;
        }
    
        @Override
        public int hashCode() {
          return 23;
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileHandleImpl.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals(final Object obj) {
            if (!(obj instanceof final SmbFileHandleImpl o)) {
                return false;
            }
            if (this.fileId != null) {
                return Arrays.equals(this.fileId, o.fileId) && this.tree_num == o.tree_num;
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                return hashCode;
            }
    
            @Override
            public boolean equals(Object o) {
                if (o == this) {
                    return true;
                }
    
                if (o instanceof CacheKey other) {
                    return pomHash == other.pomHash
                            && artifactEquals(artifact, other.artifact)
                            && resolveManagedVersions == other.resolveManagedVersions
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top