Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 422 for UNCHECKED (0.07 seconds)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

          default:
            @SuppressWarnings("unchecked")
            List<E> castedList = (List<E>) list;
            return new RegularImmutableList<E>(castedList);
        }
      }
    
      /**
       * Views the array as an immutable list. The array must have only {@code E} elements.
       *
       * <p>The array must be internally created.
       */
      @SuppressWarnings("unchecked") // caller is reponsible for getting this right
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringListMultimapGenerator.java

      }
    
      @Override
      public final ListMultimap<String, String> create(Object... entries) {
        @SuppressWarnings("unchecked")
        Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length];
        int i = 0;
        for (Object o : entries) {
          @SuppressWarnings("unchecked")
          Entry<String, String> e = (Entry<String, String>) o;
          array[i++] = e;
        }
        return create(array);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 3K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

      }
    
      @Override
      public final SetMultimap<String, String> create(Object... entries) {
        @SuppressWarnings("unchecked")
        Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length];
        int i = 0;
        for (Object o : entries) {
          @SuppressWarnings("unchecked")
          Entry<String, String> e = (Entry<String, String>) o;
          array[i++] = e;
        }
        return create(array);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/base/SneakyThrows.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    
    /** Static utility method for unchecked throwing of any {@link Throwable}. */
    @GwtCompatible
    final class SneakyThrows<T extends Throwable> {
      /**
       * Throws {@code t} as if it were an unchecked {@link Throwable}.
       *
       * <p>This method is useful primarily when we make a reflective call to a method with no {@code
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Feb 03 21:52:39 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestStringMapGenerator.java

      }
    
      @Override
      public Map<String, String> create(Object... entries) {
        @SuppressWarnings("unchecked")
        Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length];
        int i = 0;
        for (Object o : entries) {
          @SuppressWarnings("unchecked")
          Entry<String, String> e = (Entry<String, String>) o;
          array[i++] = e;
        }
        return create(array);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

              mapEntry("foo", 5),
              mapEntry("bar", 3),
              mapEntry("baz", 17),
              mapEntry("quux", 1),
              mapEntry("toaster", -2));
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public Entry<String, Integer>[] createArray(int length) {
          return (Entry<String, Integer>[]) new Entry<?, ?>[length];
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/collection/ArrayMap.java

                final Entry<K, V>[] oldTable = listTable;
                final int newCapacity = oldTable.length * 2 + 1;
                @SuppressWarnings("unchecked")
                final Entry<K, V>[] newMapTable = new Entry[newCapacity];
                @SuppressWarnings("unchecked")
                final Entry<K, V>[] newListTable = new Entry[newCapacity];
                threshold = (int) (newCapacity * LOAD_FACTOR);
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/http/HandlerTest.java

            // Clear the protocol handlers cache
            Field handlersField = Handler.class.getDeclaredField("PROTOCOL_HANDLERS");
            handlersField.setAccessible(true);
            @SuppressWarnings("unchecked")
            Map<String, URLStreamHandler> handlers = (Map<String, URLStreamHandler>) handlersField.get(null);
            handlers.clear();
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/hash/SneakyThrows.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    
    /** Static utility method for unchecked throwing of any {@link Throwable}. */
    @GwtCompatible
    final class SneakyThrows<T extends Throwable> {
      /**
       * Throws {@code t} as if it were an unchecked {@link Throwable}.
       *
       * <p>This method is useful primarily when we make a reflective call to a method with no {@code
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 30 18:44:22 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlingParameterUtilTest.java

            // Set to null
            CrawlingParameterUtil.setCrawlerContext(null);
    
            // Should be null now
            assertNull(CrawlingParameterUtil.getCrawlerContext());
        }
    
        @SuppressWarnings("unchecked")
        public void test_urlQueueService_setAndGet() {
            // Initially should be null
            assertNull(CrawlingParameterUtil.getUrlQueueService());
    
            // Create a mock UrlQueueService
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 14.6K bytes
    - Click Count (0)
Back to Top