- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for unsafeNull (0.2 sec)
-
android/guava/src/com/google/common/collect/HashBiMap.java
*/ return (index == ABSENT) ? unsafeNull() : uncheckedCastNullableTToT(values[index]); } @Override @ParametricNullness public V setValue(@ParametricNullness V value) { updateIndex(); if (index == ABSENT) { HashBiMap.this.put(key, value); return unsafeNull(); // See the discussion in getValue(). } /*
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 06 16:06:58 GMT 2023 - 36.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/NullnessCasts.java
// The warnings are legitimate. Each time we use this method, we document why. @ParametricNullness static <T extends @Nullable Object> T unsafeNull() { return null; } private NullnessCasts() {}
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 10 20:36:34 GMT 2022 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
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.util.Objects.requireNonNull; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.annotations.VisibleForTesting;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jun 26 21:02:13 GMT 2023 - 35.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
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.util.Objects.requireNonNull; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.annotations.VisibleForTesting;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Jun 26 21:02:13 GMT 2023 - 39.8K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnostics.kt
override val diagnosticClass get() = TypecheckerHasRunIntoRecursiveProblem::class } interface UnsafeCall : KtFirDiagnostic<PsiElement> { override val diagnosticClass get() = UnsafeCall::class val receiverType: KtType val receiverExpression: KtExpression? } interface UnsafeImplicitInvokeCall : KtFirDiagnostic<PsiElement> {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Apr 24 09:49:26 GMT 2024 - 171.1K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnosticsImpl.kt
override val receiverExpression: KtExpression?, firDiagnostic: KtPsiDiagnostic, token: KtLifetimeToken, ) : KtAbstractFirDiagnostic<PsiElement>(firDiagnostic, token), KtFirDiagnostic.UnsafeCall internal class UnsafeImplicitInvokeCallImpl( override val receiverType: KtType, firDiagnostic: KtPsiDiagnostic, token: KtLifetimeToken,
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Apr 24 09:49:26 GMT 2024 - 225.2K bytes - Viewed (0)