Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 1,891 for instanceOf (0.16 sec)

  1. android/guava/src/com/google/common/collect/Iterators.java

        return (Iterator<T>) EmptyModifiableIterator.INSTANCE;
      }
    
      /** Returns an unmodifiable view of {@code iterator}. */
      public static <T extends @Nullable Object> UnmodifiableIterator<T> unmodifiableIterator(
          Iterator<? extends T> iterator) {
        checkNotNull(iterator);
        if (iterator instanceof UnmodifiableIterator) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

                        return true;
                    }
    
                    @Override
                    public boolean equals(Object obj) {
                        return obj instanceof AlwaysTrueFilter;
                    }
    
                    @Override
                    public int hashCode() {
                        return AlwaysTrueFilter.class.hashCode();
                    }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableCollection.java

        }
    
        @CanIgnoreReturnValue
        @Override
        public Builder<E> addAll(Iterable<? extends E> elements) {
          if (elements instanceof Collection) {
            Collection<?> collection = (Collection<?>) elements;
            ensureRoomFor(collection.size());
            if (collection instanceof ImmutableCollection) {
              ImmutableCollection<?> immutableCollection = (ImmutableCollection<?>) collection;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/curl/CurlRequest.java

         *
         * @param proxy the proxy
         * @return this CurlRequest instance
         */
        public CurlRequest proxy(final Proxy proxy) {
            this.proxy = proxy;
            return this;
        }
    
        /**
         * Sets the character encoding for the request.
         *
         * @param encoding the encoding
         * @return this CurlRequest instance
         * @throws CurlException if the method is called after the param method
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

                public List<RemoteRepository> getRepositories() {
                    return repositories;
                }
    
                @Override
                public boolean equals(Object o) {
                    return o instanceof DefaultProjectBuilderRequest that
                            && allowStubModel == that.allowStubModel
                            && recursive == that.recursive
                            && processPlugins == that.processPlugins
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          inline.execute(command);
        }
    
        private static <T> void assertTaskWrapped(Collection<? extends Callable<T>> tasks) {
          Predicate<Object> p = Predicates.instanceOf(WrappedCallable.class);
          assertTrue(Iterables.all(tasks, p));
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            executor.shutdown();
    
            // Then - No ConcurrentModificationException
            for (Exception e : exceptions) {
                assertFalse(e instanceof java.util.ConcurrentModificationException, "Should not have ConcurrentModificationException");
            }
    
            assertTrue(successCount.get() > 0, "Operations should succeed");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

                                public Optional<Path> getPath(org.apache.maven.api.Artifact artifact) {
                                    Path path = paths.get(artifact.key());
                                    if (path == null && artifact instanceof DefaultArtifact defaultArtifact) {
                                        path = defaultArtifact.getArtifact().getPath();
                                    }
                                    return Optional.ofNullable(path);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                Encdec.enc_uint32be(n & 0xFFFF, BUF, 0); /* 4 byte session message header */
                if (LogStream.level >= 4) {
                    do {
                        log.println(smb);
                    } while (smb instanceof AndXServerMessageBlock && (smb = ((AndXServerMessageBlock) smb).andx) != null);
                    if (LogStream.level >= 6) {
                        Hexdump.hexdump(log, BUF, 4, n);
                    }
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  10. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
Back to top