Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 422 for UNCHECKED (0.08 seconds)

  1. 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() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  2. android/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;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        // type.
        checkNotNull(enumClass);
        checkNotNull(policy);
        @SuppressWarnings("unchecked")
        Map<E, LockGraphNode> lockGraphNodes = (Map<E, LockGraphNode>) getOrCreateNodes(enumClass);
        return new WithExplicitOrdering<>(policy, lockGraphNodes);
      }
    
      @SuppressWarnings("unchecked")
      private static <E extends Enum<E>> Map<? extends E, LockGraphNode> getOrCreateNodes(
          Class<E> clazz) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  4. 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(final Class<T> type) {
            if (type.isAssignableFrom(this.getClass())) {
                return (T) this;
            }
            return null;
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  5. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Test ComparableVersion.
     */
    @SuppressWarnings("unchecked")
    class ComparableVersionTest {
        private ComparableVersion newComparable(String version) {
            ComparableVersion ret = new ComparableVersion(version);
            String canonical = ret.getCanonical();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

         *
         * @param session the HTTP session
         * @return the result document IDs cache map
         */
        private Map<String, String[]> getResultDocIdsCache(final HttpSession session) {
            @SuppressWarnings("unchecked")
            Map<String, String[]> resultDocIdsCache = (Map<String, String[]>) session.getAttribute(Constants.RESULT_DOC_ID_CACHE);
            if (resultDocIdsCache == null) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

        }
    
        /**
         * Get values from array index.
         * @param index Index
         * @param type Type
         * @param key Key
         * @return Values
         */
        @SuppressWarnings("unchecked")
        protected Map<String, Object>[] getFromArrayIndex(final String index, final String type, final String key) {
            final String actualIndex = index + "." + type.toLowerCase(Locale.ENGLISH);
            try {
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        //                                                                          Validation
        //                                                                          ==========
        @SuppressWarnings("unchecked")
        /**
         * Creates a validator instance for form validation.
         * This method uses the system helper to create a validator with Fess-specific messages.
         *
         * @return a new action validator instance
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

    public class UnmodifiableCollectionTests {
    
      public static void assertMapEntryIsUnmodifiable(Entry<?, ?> entry) {
        try {
          // fine because the call is going to fail without modifying the entry
          @SuppressWarnings("unchecked")
          Entry<?, @Nullable Object> nullableValueEntry = (Entry<?, @Nullable Object>) entry;
          nullableValueEntry.setValue(null);
          fail("setValue on unmodifiable Map.Entry succeeded");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Streams.java

       *
       * <p>This is equivalent to {@code Stream.of(streams).flatMap(stream -> stream)}, but the returned
       * stream may perform better.
       *
       * @see Stream#concat(Stream, Stream)
       */
      @SuppressWarnings("unchecked") // could probably be avoided with a forwarding Spliterator
      @SafeVarargs
      public static <T extends @Nullable Object> Stream<T> concat(Stream<? extends T>... streams) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 21 15:40:45 GMT 2025
    - 36.8K bytes
    - Click Count (0)
Back to Top