- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 959 for nullable (0.04 seconds)
-
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
public static Object good( String a, int b, // oneConstantOnly doesn't matter since it's not nullable and can be only 1 value. @SuppressWarnings("unused") OneConstantEnum oneConstantOnly, // noConstant doesn't matter since it can only be null @SuppressWarnings("unused") @Nullable NoConstantEnum noConstant) { return new GoodEquals(a, b); } // instance method ignored
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 36.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Synchronized.java
private static class SynchronizedMultimap<K extends @Nullable Object, V extends @Nullable Object> extends SynchronizedObject implements Multimap<K, V> { transient @Nullable Set<K> keySet; transient @Nullable Collection<V> valuesCollection; transient @Nullable Collection<Map.Entry<K, V>> entries; transient @Nullable Map<K, Collection<V>> asMap; transient @Nullable Multiset<K> keys; @SuppressWarnings("unchecked")
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 53K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java
runConcurrentTest( numberOfThreads, new Callable<@Nullable Void>() { @Override public @Nullable Void call() throws Exception { long unused = ticker.read(); return null; } }); assertEquals(incrementByNanos * numberOfThreads, ticker.read()); } /** Runs {@code callable} concurrently {@code numberOfThreads} times. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java
import org.jspecify.annotations.Nullable; /** * Test cases for {@link Tables#transformValues}. * * @author Jared Levy */ @GwtCompatible @NullMarked public class TablesTransformValuesTest extends AbstractTableTest<Character> { private static final Function<@Nullable String, @Nullable Character> FIRST_CHARACTER = new Function<@Nullable String, @Nullable Character>() { @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.1K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt
""" ) { assertHasNoError() assertHasWarnings( "Field finalField: Nullability changed from nullable to non-nullable", "Method com.example.Source.foo(java.lang.String): Return nullability changed from nullable to non-nullable" ) assertHasNoInformation() } } @TestCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu May 15 17:05:08 GMT 2025 - 18K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingExecutorService.java
} @Override public <T extends @Nullable Object> List<Future<T>> invokeAll( Collection<? extends Callable<T>> tasks) throws InterruptedException { return delegate().invokeAll(tasks); } @Override public <T extends @Nullable Object> List<Future<T>> invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingMap.java
@CanIgnoreReturnValue @Override public @Nullable V remove(@Nullable Object key) { return delegate().remove(key); } @Override public void clear() { delegate().clear(); } @Override public boolean containsKey(@Nullable Object key) { return delegate().containsKey(key); } @Override public boolean containsValue(@Nullable Object value) { return delegate().containsValue(value);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 9.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/DenseImmutableTable.java
} abstract @Nullable V getValue(int keyIndex); @Override ImmutableSet<K> createKeySet() { return isFull() ? keyToIndex().keySet() : super.createKeySet(); } @Override public int size() { return size; } @Override public @Nullable V get(@Nullable Object key) { Integer keyIndex = keyToIndex().get(key);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 9.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Verify.java
* * @since 23.1 (varargs overload since 17.0) */ public static void verify( boolean expression, String errorMessageTemplate, @Nullable Object p1, @Nullable Object p2, @Nullable Object p3, @Nullable Object p4) { if (!expression) { throw new VerifyException(lenientFormat(errorMessageTemplate, p1, p2, p3, p4)); } } /*
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 18.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingNavigableSet.java
*/ @GwtIncompatible public abstract class ForwardingNavigableSet<E extends @Nullable Object> extends ForwardingSortedSet<E> implements NavigableSet<E> { /** Constructor for use by subclasses. */ protected ForwardingNavigableSet() {} @Override protected abstract NavigableSet<E> delegate(); @Override public @Nullable E lower(@ParametricNullness E e) { return delegate().lower(e); } /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8.8K bytes - Click Count (0)