Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 311 for unchecked (0.25 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

    import static com.google.common.util.concurrent.FuturesGetCheckedInputs.OTHER_THROWABLE;
    import static com.google.common.util.concurrent.FuturesGetCheckedInputs.RUNTIME_EXCEPTION;
    import static com.google.common.util.concurrent.FuturesGetCheckedInputs.RUNTIME_EXCEPTION_FUTURE;
    import static com.google.common.util.concurrent.FuturesGetCheckedInputs.UNCHECKED_EXCEPTION;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

    import static com.google.common.util.concurrent.FuturesGetCheckedInputs.OTHER_THROWABLE;
    import static com.google.common.util.concurrent.FuturesGetCheckedInputs.RUNTIME_EXCEPTION;
    import static com.google.common.util.concurrent.FuturesGetCheckedInputs.RUNTIME_EXCEPTION_FUTURE;
    import static com.google.common.util.concurrent.FuturesGetCheckedInputs.UNCHECKED_EXCEPTION;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      }
    
      @SuppressWarnings("unchecked")
      public static <E> ImmutableSortedSet<E> of() {
        return (ImmutableSortedSet<E>) NATURAL_EMPTY_SET;
      }
    
      public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of(E element) {
        return ofInternal(Ordering.natural(), element);
      }
    
      @SuppressWarnings("unchecked")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/ThrowablesTest.java

    /**
     * Unit test for {@link Throwables}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    public class ThrowablesTest extends TestCase {
      public void testThrowIfUnchecked_Unchecked() {
        try {
          throwIfUnchecked(new SomeUncheckedException());
          fail();
        } catch (SomeUncheckedException expected) {
        }
      }
    
      public void testThrowIfUnchecked_Error() {
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

    /**
     * Unit test for {@link Throwables}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    public class ThrowablesTest extends TestCase {
      public void testThrowIfUnchecked_Unchecked() {
        try {
          throwIfUnchecked(new SomeUncheckedException());
          fail();
        } catch (SomeUncheckedException expected) {
        }
      }
    
      public void testThrowIfUnchecked_Error() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  6. 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);
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 20.6K bytes
    - Viewed (1)
  7. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 11K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

                          @SuppressWarnings("unchecked")
                          Entry<Range<Integer>, String> entry = (Entry<Range<Integer>, String>) o;
                          rangeMap.put(entry.getKey(), entry.getValue());
                        }
                        return rangeMap.asMapOfRanges();
                      }
    
                      @SuppressWarnings("unchecked")
                      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CollectCollectors.java

                  ImmutableRangeSet.Builder::build);
    
      // Lists
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      static <E> Collector<E, ?, ImmutableList<E>> toImmutableList() {
        return (Collector) TO_IMMUTABLE_LIST;
      }
    
      // Sets
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      static <E> Collector<E, ?, ImmutableSet<E>> toImmutableSet() {
        return (Collector) TO_IMMUTABLE_SET;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

            // These come from Entry<K, Collection<V>>> objects somewhere.
            @SuppressWarnings("unchecked")
            K key = (K) entry.getKey();
            keySet.add(key);
            for (Object v : (Collection<?>) entry.getValue()) {
              // These come from Entry<K, Collection<V>>> objects somewhere.
              @SuppressWarnings("unchecked")
              V value = (V) v;
              builder.add(mapEntry(key, value));
            }
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top