Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 360 for UNCHECKED (0.09 sec)

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

       *
       * @throws ExecutionException if a checked exception was thrown while loading the value
       * @throws UncheckedExecutionException if an unchecked exception was thrown while loading the
       *     value
       * @throws ExecutionError if an error was thrown while loading the value
       * @since 11.0
       */
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ObjectArrays.java

       *
       * @param type the component type
       * @param length the length of the new array
       */
      @GwtIncompatible // Array.newInstance(Class, int)
      @SuppressWarnings("unchecked")
      public static <T extends @Nullable Object> T[] newArray(Class<@NonNull T> type, int length) {
        return (T[]) Array.newInstance(type, length);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

        if (isCancelled() | localInputFuture == null | localFunction == null) {
          return;
        }
        inputFuture = null;
    
        if (localInputFuture.isCancelled()) {
          @SuppressWarnings("unchecked")
          boolean unused =
              setFuture((ListenableFuture<O>) localInputFuture); // Respects cancellation cause setting
          return;
        }
    
        /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeBasedTable.java

        @Override
        public Comparator<? super C> comparator() {
          return columnComparator();
        }
    
        int compare(Object a, Object b) {
          // pretend we can compare anything
          @SuppressWarnings("unchecked")
          Comparator<Object> cmp = (Comparator<Object>) comparator();
          return cmp.compare(a, b);
        }
    
        boolean rangeContains(@Nullable Object o) {
          return o != null
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Predicates.java

            return o != null;
          }
    
          @Override
          public String toString() {
            return "Predicates.notNull()";
          }
        };
    
        @SuppressWarnings("unchecked") // safe contravariant cast
        <T extends @Nullable Object> Predicate<T> withNarrowedType() {
          return (Predicate<T>) this;
        }
      }
    
      /**
       * @see Predicates#not(Predicate)
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. 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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15K bytes
    - Viewed (0)
  7. 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");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        void sendWithRequestVarargsDelegates() throws Exception {
            // Verifies Request<T> overload forwards to the varargs form with a null response
            @SuppressWarnings("unchecked")
            Request<CommonServerMessageBlockResponse> req = mock(Request.class);
            CommonServerMessageBlockResponse resp = mock(CommonServerMessageBlockResponse.class);
    
            // Stub tree send for varargs
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/StandardTable.java

        @Override
        public boolean containsKey(@Nullable Object key) {
          return containsRow(key);
        }
    
        // performing cast only when key is in backing map and has the correct type
        @SuppressWarnings("unchecked")
        @Override
        public @Nullable Map<C, V> get(@Nullable Object key) {
          // requireNonNull is safe because of the containsRow check.
          return containsRow(key) ? row((R) requireNonNull(key)) : null;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
Back to top