- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 266 for nilable (0.2 sec)
-
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
TrustedListenableFutureTask<@Nullable Void> task = TrustedListenableFutureTask.create(command, null); ScheduledFuture<?> scheduled = delegate.schedule(task, delay, unit); return new ListenableScheduledTask<@Nullable Void>(task, scheduled); } @Override public <V extends @Nullable Object> ListenableScheduledFuture<V> schedule(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 41.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
import org.checkerframework.checker.nullness.qual.Nullable; @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class Helpers { // Clone of Objects.equal static boolean equal(@Nullable Object a, @Nullable Object b) { return a == b || (a != null && a.equals(b)); } // Clone of Lists.newArrayList public static <E extends @Nullable Object> List<E> copyToList(Iterable<? extends E> elements) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 17.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
@Generates static <K, V> Map<K, V> generateMap(@Nullable K key, @Nullable V value) { return generateHashdMap(key, value); } @Generates static <K, V> HashMap<K, V> generateHashdMap(@Nullable K key, @Nullable V value) { return generateLinkedHashMap(key, value); } @Generates static <K, V> LinkedHashMap<K, V> generateLinkedHashMap(@Nullable K key, @Nullable V value) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 28.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Functions.java
*/ public static <A extends @Nullable Object, B extends @Nullable Object, C extends @Nullable Object> Function<A, C> compose(Function<B, C> g, Function<A, ? extends B> f) { return new FunctionComposition<>(g, f); } private static class FunctionComposition< A extends @Nullable Object, B extends @Nullable Object, C extends @Nullable Object> implements Function<A, C>, Serializable {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 14.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
return (from == null) ? true : null; } }); Set<Entry<@Nullable String, @Nullable Boolean>> entries = map.entrySet(); assertTrue(entries.contains(Maps.immutableEntry("a", true))); assertTrue(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("b", null))); assertTrue(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 12.2K bytes - Viewed (0) -
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
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 36.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
List<@Nullable Integer> list4 = Lists.newArrayList(1, 2); List<@Nullable Integer> list5 = Lists.newArrayList(1, null, 2); List<@Nullable Integer> list6 = Lists.newArrayList(2); List<@Nullable Integer> list7 = Lists.newArrayList(nullInt); List<@Nullable Integer> list8 = Lists.newArrayList(nullInt, nullInt); List<@Nullable List<@Nullable Integer>> list =
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
List<@Nullable Integer> list4 = Lists.newArrayList(1, 2); List<@Nullable Integer> list5 = Lists.newArrayList(1, null, 2); List<@Nullable Integer> list6 = Lists.newArrayList(2); List<@Nullable Integer> list7 = Lists.newArrayList(nullInt); List<@Nullable Integer> list8 = Lists.newArrayList(nullInt, nullInt); List<@Nullable List<@Nullable Integer>> list =
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CollectCollectors.java
MultimapBuilder.linkedHashKeys().linkedHashSetValues()::<K, V>build), ImmutableSetMultimap::copyOf); } static < T extends @Nullable Object, K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>> Collector<T, ?, M> toMultimap( Function<? super T, ? extends K> keyFunction,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:21:40 GMT 2024 - 17.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java
import java.util.logging.Level; import java.util.logging.Logger; import org.checkerframework.checker.nullness.qual.Nullable; /** Emulation for AbstractFuture in GWT. */ @SuppressWarnings("nullness") // TODO(b/147136275): Remove once our checker understands & and |. @ElementTypesAreNonnullByDefault public abstract class AbstractFuture<V extends @Nullable Object> extends InternalFutureFailureAccess implements ListenableFuture<V> {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 19:37:41 GMT 2024 - 12.3K bytes - Viewed (0)