Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for uncheckedCastNullableTToT (0.18 sec)

  1. android/guava/src/com/google/common/base/NullnessCasts.java

       * value may be legitimately {@code null}.)
       */
      @ParametricNullness
      @SuppressWarnings("nullness")
      static <T extends @Nullable Object> T uncheckedCastNullableTToT(@CheckForNull T t) {
        return t;
      }
    
      private NullnessCasts() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 17 15:44:29 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractBiMap.java

    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeMultiset.java

    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static java.lang.Math.max;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/InterruptibleTask.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.util.concurrent.NullnessCasts.uncheckedCastNullableTToT;
    import static com.google.common.util.concurrent.Platform.restoreInterruptIfIsInterruptedException;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.VisibleForTesting;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * value may be legitimately {@code null}.)
       */
      @SuppressWarnings("nullness")
      @ParametricNullness
      static <T extends @Nullable Object> T uncheckedCastNullableTToT(@CheckForNull T t) {
        return t;
      }
    
      /**
       * Returns {@code null} cast to any type.
       *
       * <p>This method is intended to help with usages of type parameters that have {@linkplain
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/NullnessCasts.java

       * value may be legitimately {@code null}.)
       */
      @ParametricNullness
      @SuppressWarnings("nullness")
      static <T extends @Nullable Object> T uncheckedCastNullableTToT(@CheckForNull T t) {
        return t;
      }
    
      /** Returns {@code null} as any type, even one that does not include {@code null}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/NullnessCasts.java

       * value may be legitimately {@code null}.)
       */
      @ParametricNullness
      @SuppressWarnings("nullness")
      static <T extends @Nullable Object> T uncheckedCastNullableTToT(@CheckForNull T t) {
        return t;
      }
    
      /** Returns {@code null} as any type, even one that does not include {@code null}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Tables.java

    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Function;
    import com.google.common.base.Objects;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Converter.java

       */
    
      @CheckForNull
      private B unsafeDoForward(@CheckForNull A a) {
        return doForward(uncheckedCastNullableTToT(a));
      }
    
      @CheckForNull
      private A unsafeDoBackward(@CheckForNull B b) {
        return doBackward(uncheckedCastNullableTToT(b));
      }
    
      /**
       * Returns an iterable that applies {@code convert} to each element of {@code fromIterable}. The
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Streams.java

     * permissions and limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static java.lang.Math.min;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.Beta;
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top