Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 555 for unchecked (0.07 sec)

  1. src/main/java/jcifs/netbios/NbtAddress.java

            this.isDataFromNodeStatus = true;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Address#unwrap(java.lang.Class)
         */
        @SuppressWarnings ( "unchecked" )
        @Override
        public <T extends Address> T unwrap ( Class<T> type ) {
            if ( type.isAssignableFrom(this.getClass()) ) {
                return (T) this;
            }
            return null;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableMultimap.java

       */
      public static <K, V> ImmutableMultimap<K, V> copyOf(Multimap<? extends K, ? extends V> multimap) {
        if (multimap instanceof ImmutableMultimap) {
          @SuppressWarnings("unchecked") // safe since multimap is not writable
          ImmutableMultimap<K, V> kvMultimap = (ImmutableMultimap<K, V>) multimap;
          if (!kvMultimap.isPartialView()) {
            return kvMultimap;
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/FluentIterable.java

       * This does perform a little more work than necessary, so another option is to insert an
       * unchecked cast at some later point:
       *
       * <pre>
       * {@code @SuppressWarnings("unchecked") // safe because of ::isInstance check
       * ImmutableList<NewType> result =
       *     (ImmutableList) stream.filter(NewType.class::isInstance).collect(toImmutableList());}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                t = AuthenticationType.NULL;
            }
            return t;
        }
    
    
        @SuppressWarnings ( "unchecked" )
        @Override
        public <T extends Credentials> T unwrap ( Class<T> t ) {
            if ( t.isAssignableFrom(this.getClass()) ) {
                return (T) this;
            }
            return null;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheBuilder.java

        // safely limiting the kinds of caches this can produce
        @SuppressWarnings("unchecked")
        CacheBuilder<K1, V1> me = (CacheBuilder<K1, V1>) this;
        me.removalListener = checkNotNull(listener);
        return me;
      }
    
      // Make a safe contravariant cast now so we don't have to do it over and over.
      @SuppressWarnings("unchecked")
      <K1 extends K, V1 extends V> RemovalListener<K1, V1> getRemovalListener() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          for (T element : initialContents) {
            queue.offer(element);
          }
          return queue;
        }
    
        @SuppressWarnings("unchecked") // safe "contravariant cast"
        private <T extends B> Ordering<T> ordering() {
          return Ordering.from((Comparator<T>) comparator);
        }
      }
    
      private final Heap minHeap;
      private final Heap maxHeap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchHelper.java

            // search
            final QueryResponseList queryResponseList = (QueryResponseList) documentItems;
            data.setFacetResponse(queryResponseList.getFacetResponse());
    
            @SuppressWarnings("unchecked")
            final Set<String> highlightQueries = (Set<String>) params.getAttribute(Constants.HIGHLIGHT_QUERIES);
            if (highlightQueries != null) {
                final StringBuilder buf = new StringBuilder(100);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

            return getNegotiateResponse().isSigningRequired();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTransport#unwrap(java.lang.Class)
         */
        @SuppressWarnings ( "unchecked" )
        @Override
        public <T extends SmbTransport> T unwrap ( Class<T> type ) {
            if ( type.isAssignableFrom(this.getClass()) ) {
                return (T) this;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                return versionScheme.parseVersionRange(spec);
            } catch (InvalidVersionSpecificationException e) {
                throw new RuntimeException(e);
            }
        }
    
        @SuppressWarnings({"unchecked", "rawtypes"})
        private Map<String, String> createMergedProperties(MavenExecutionRequest request) {
            // this throwaway map is really ONLY to get config from (profiles + env + system + user)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        public E next() {
          if (cursor >= array.length) throw new NoSuchElementException();
          lastRet = cursor;
    
          // array comes from q.toArray() and so should have only E's in it
          @SuppressWarnings("unchecked")
          E e = (E) array[cursor++];
          return e;
        }
    
        @Override
        public void remove() {
          if (lastRet < 0) throw new IllegalStateException();
          Object x = array[lastRet];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top