Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ClassCastException (0.84 sec)

  1. android/guava/src/com/google/common/cache/CacheBuilder.java

       *
       * <p><b>Warning:</b> if you ignore the above advice, and use this {@code CacheBuilder} to build a
       * cache whose key or value type is incompatible with the weigher, you will likely experience a
       * {@link ClassCastException} at some <i>undefined</i> point in the future.
       *
       * @param weigher the weigher to use in calculating the weight of cache entries
       * @return this {@code CacheBuilder} instance (for chaining)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

          int thisSize = 0;
          for (E e : this) {
            try {
              if (!that.contains(e)) {
                return false;
              }
            } catch (NullPointerException | ClassCastException ignored) {
              return false;
            }
            thisSize++;
          } // that.containsAll(this) so that.size() >= this.size()
    
          if (thisSize == thatMaxSize) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

       * type {@code K}. Using an {@code EntryTransformer} key type for which this may not hold, such as
       * {@code ArrayList}, may risk a {@code ClassCastException} when calling methods on the
       * transformed multimap.
       *
       * @since 7.0
       */
      public static <
              K extends @Nullable Object, V1 extends @Nullable Object, V2 extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Multimaps.java

       * type {@code K}. Using an {@code EntryTransformer} key type for which this may not hold, such as
       * {@code ArrayList}, may risk a {@code ClassCastException} when calling methods on the
       * transformed multimap.
       *
       * @since 7.0
       */
      public static <
              K extends @Nullable Object, V1 extends @Nullable Object, V2 extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

        @Override
        public <T extends SmbSession> T unwrap(Class<T> type) {
            if (type.isAssignableFrom(this.getClass())) {
                return (T) this;
            }
            throw new ClassCastException();
        }
    
        /**
         * @return session increased usage count
         */
        public SmbSessionImpl acquire() {
            long usage = this.usageCount.incrementAndGet();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

        @Override
        public <T extends SmbTransport> T unwrap(final Class<T> type) {
            if (type.isAssignableFrom(this.getClass())) {
                return (T) this;
            }
            throw new ClassCastException();
        }
    
        /**
         *
         * @param tf
         * @return a session for the context
         */
        @Override
        public SmbSessionImpl getSmbSession(final CIFSContext tf) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_3x.md

    _2017-11-18_
    
     *  New: Recover gracefully when Android's DNS crashes with an unexpected
        `NullPointerException`.
     *  New: Recover gracefully when Android's socket connections crash with an
        unexpected `ClassCastException`.
     *  Fix: Don't include the URL's fragment in `encodedQuery()` when the query
        itself is empty.
    
    ## Version 3.9.0
    
    _2017-09-03_
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top