Search Options

Results per page
Sort
Preferred Languages
Advance

Results 801 - 810 of 2,446 for instanceOf (3.14 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThrows(IllegalStateException.class, () -> builder.removalListener(testListener));
      }
    
      public void testValuesIsNotASet() {
        assertThat(CacheBuilder.newBuilder().build().asMap().values() instanceof Set).isFalse();
      }
    
      @GwtIncompatible // CacheTesting
      public void testNullCache() {
        CountingRemovalListener<Object, Object> listener = countingRemovalListener();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * original {@code ListenableFuture}.
       */
      public static <V extends @Nullable Object> FluentFuture<V> from(ListenableFuture<V> future) {
        return future instanceof FluentFuture
            ? (FluentFuture<V>) future
            : new ForwardingFluentFuture<V>(future);
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            try {
                LocalArtifactRepository ideWorkspace =
                        plexus.lookup(LocalArtifactRepository.class, LocalArtifactRepository.IDE_WORKSPACE);
    
                if (request.getLocalRepository() instanceof DelegatingLocalArtifactRepository delegatingLocalRepository) {
                    LocalArtifactRepository orig = delegatingLocalRepository.getIdeWorkspace();
    
                    delegatingLocalRepository.setIdeWorkspace(ideWorkspace);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        @Override
        public int hashCode() {
            return (int) this.mid;
        }
    
        @Override
        public boolean equals(final Object obj) {
            return obj instanceof ServerMessageBlock2 && ((ServerMessageBlock2) obj).mid == this.mid;
        }
    
        @Override
        public String toString() {
            String c = switch (this.command) {
            case SMB2_NEGOTIATE -> "SMB2_NEGOTIATE";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          } else {
            return Outcome.FAILURE;
          }
        } catch (InvocationTargetException targetException) {
          Throwable actualException = targetException.getTargetException();
          if (actualException instanceof InterruptedException) {
            return Outcome.INTERRUPT;
          } else {
            throw new AssertionError("unexpected exception", targetException);
          }
        } catch (IllegalAccessException e) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/BloomFilter.java

        this.funnel = checkNotNull(funnel);
        this.strategy = checkNotNull(strategy);
      }
    
      /**
       * Creates a new {@code BloomFilter} that's a copy of this instance. The new instance is equal to
       * this instance but shares no mutable state.
       *
       * @since 12.0
       */
      public BloomFilter<T> copy() {
        return new BloomFilter<>(bits.copy(), numHashFunctions, funnel, strategy);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 19:23:59 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  7. docs/smb3-features/02-persistent-handles-design.md

            return bb.array();
        }
        
        @Override
        public String toString() {
            return guid.toString();
        }
        
        @Override
        public boolean equals(Object obj) {
            if (obj instanceof HandleGuid) {
                return guid.equals(((HandleGuid)obj).guid);
            }
            return false;
        }
        
        @Override
        public int hashCode() {
            return guid.hashCode();
        }
    }
    ```
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

         */
        @Override
        public boolean equals(final Object obj) {
            if (obj instanceof final NtlmPasswordAuthentication ntlm) {
                if (ntlm.domain.toUpperCase().equals(domain.toUpperCase()) && ntlm.username.toUpperCase().equals(username.toUpperCase())) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                childUrlRuleMap.put(tagName, attrName);
            }
        }
    
        /**
         * Gets the XPath API instance for this thread.
         *
         * @return the XPath API instance
         */
        protected XPathAPI getXPathAPI() {
            XPathAPI cachedXPathAPI = xpathAPI.get();
            if (cachedXPathAPI == null) {
                cachedXPathAPI = new XPathAPI();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 29 07:42:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        checkNotNull(rangeSet);
        if (rangeSet.isEmpty()) {
          return of();
        } else if (rangeSet.encloses(Range.all())) {
          return all();
        }
    
        if (rangeSet instanceof ImmutableRangeSet) {
          ImmutableRangeSet<C> immutableRangeSet = (ImmutableRangeSet<C>) rangeSet;
          if (!immutableRangeSet.isPartialView()) {
            return immutableRangeSet;
          }
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 27.5K bytes
    - Viewed (0)
Back to top