Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for NullnessCasts (0.05 sec)

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

    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.Nullable;
    
    /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */
    @GwtCompatible
    final class NullnessCasts {
      /**
       * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that
       * that conversion is safe.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/NullnessCasts.java

    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.Nullable;
    
    /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */
    @GwtCompatible
    final class NullnessCasts {
      /**
       * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that
       * that conversion is safe.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * 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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/HashBiMap.java

     * the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static com.google.common.collect.NullnessCasts.unsafeNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/TopKSelector.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 static java.lang.Math.max;
    import static java.util.Arrays.asList;
    import static java.util.Arrays.sort;
    import static java.util.Collections.unmodifiableList;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Suppliers.java

     * the License.
     */
    
    package com.google.common.base;
    
    import static com.google.common.base.Internal.toNanosSaturated;
    import static com.google.common.base.NullnessCasts.uncheckedCastNullableTToT;
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactHashMap.java

    import static com.google.common.collect.CompactHashing.UNSET;
    import static com.google.common.collect.Hashing.smearedHash;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static com.google.common.collect.NullnessCasts.unsafeNull;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    import static java.util.Objects.requireNonNull;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Suppliers.java

     * the License.
     */
    
    package com.google.common.base;
    
    import static com.google.common.base.Internal.toNanosSaturated;
    import static com.google.common.base.NullnessCasts.uncheckedCastNullableTToT;
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/StandardTable.java

    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.collect.Maps.safeContainsKey;
    import static com.google.common.collect.Maps.safeGet;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static com.google.common.collect.Tables.immutableCell;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K 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 com.google.common.collect.SneakyThrows.sneakyThrow;
    import static java.lang.Math.min;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.Beta;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
Back to top