- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 959 for nullable (0.08 seconds)
-
android/guava/src/com/google/common/collect/Tables.java
* @since 11.0 */ public static <R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object> Table<R, C, V> unmodifiableTable(Table<? extends R, ? extends C, ? extends V> table) { return new UnmodifiableTable<>(table); } private static class UnmodifiableTable< R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object>
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 24.9K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java
return delegate.isEmpty(); } @Override public final boolean containsKey(@Nullable Object key) { return Maps.safeContainsKey(delegate, key); } @Override public final boolean containsValue(@Nullable Object value) { return delegate.containsValue(value); } @Override public @Nullable V get(@Nullable Object key) { return (key == null) ? null : Maps.safeGet(delegate, key); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ArrayTable.java
} @Override Map<R, @Nullable V> getValue(int index) { return new Column(index); } @Override Map<R, @Nullable V> setValue(int index, Map<R, @Nullable V> newValue) { throw new UnsupportedOperationException(); } @Override public @Nullable Map<R, @Nullable V> put(C key, Map<R, @Nullable V> value) { throw new UnsupportedOperationException();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 26.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractMapEntry.java
import java.util.Map.Entry; import java.util.Objects; import org.jspecify.annotations.Nullable; /** * Implementation of the {@code equals}, {@code hashCode}, and {@code toString} methods of {@code * Entry}. * * @author Jared Levy */ @GwtCompatible abstract class AbstractMapEntry<K extends @Nullable Object, V extends @Nullable Object> implements Entry<K, V> { @Override @ParametricNullnessCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 1.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
"toString() isn't properly forwarded", proxy.toString(), wrapperFunction.apply(proxy).toString()); } private static @Nullable Object[] getParameterValues(Method method) { FreshValueGenerator paramValues = new FreshValueGenerator(); List<@Nullable Object> passedArgs = new ArrayList<>(); for (Class<?> paramType : method.getParameterTypes()) { passedArgs.add(paramValues.generateFresh(paramType));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ClassToInstanceMap.java
* * @param <B> the common supertype that all values will share. When in doubt, just use {@link * Object}, or use {@code @Nullable Object} to allow null values. * @since 2.0 */ @DoNotMock("Use ImmutableClassToInstanceMap or MutableClassToInstanceMap") @GwtCompatible public interface ClassToInstanceMap<B extends @Nullable Object> extends Map<Class<? extends @NonNull B>, B> { /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.9K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Objects.java
* java.util.Objects#equals} instead. */ @SuppressWarnings("InlineMeSuggester") // would introduce fully qualified references to Objects public static boolean equal(@Nullable Object a, @Nullable Object b) { return java.util.Objects.equals(a, b); } /** * Generates a hash code for multiple values. The hash code is generated by calling {@linkCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 28 22:51:26 GMT 2025 - 3.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
* <p>This testing utility is not thread-safe. * * @author Kevin Bourrillion */ @GwtCompatible public final class MinimalIterable<E extends @Nullable Object> implements Iterable<E> { /** Returns an iterable whose iterator returns the given elements in order. */ public static <E extends @Nullable Object> MinimalIterable<E> of(E... elements) { // Make sure to get an unmodifiable iterator
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.1K bytes - Click Count (0) -
guava/src/com/google/common/graph/MapIteratorCache.java
return backingMap.size(); } @Override public boolean contains(@Nullable Object key) { return containsKey(key); } }; } // Internal methods (package-visible, but treat as only subclass-visible) @Nullable V getIfCached(@Nullable Object key) { Entry<K, V> entry = cacheEntry; // store local reference for thread-safety
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
TreeMultimap<@Nullable String, @Nullable Integer> multimap = createPopulate(); assertThat(multimap.entries()) .containsExactly( Maps.<@Nullable String, Integer>immutableEntry(null, 7), Maps.<@Nullable String, Integer>immutableEntry(null, 3), Maps.<@Nullable String, Integer>immutableEntry(null, 1), Maps.<String, @Nullable Integer>immutableEntry("tree", null),
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.4K bytes - Click Count (0)