- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 959 for nullable (0.3 seconds)
-
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
public @Nullable V floor(@ParametricNullness V v) { return getSortedSetDelegate().floor(v); } @Override public @Nullable V ceiling(@ParametricNullness V v) { return getSortedSetDelegate().ceiling(v); } @Override public @Nullable V higher(@ParametricNullness V v) { return getSortedSetDelegate().higher(v); } @Override public @Nullable V pollFirst() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 48.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
public void assertEqualHashCode( Predicate<? super @Nullable Integer> expected, Predicate<? super @Nullable Integer> actual) { assertEquals(actual + " should hash like " + expected, expected.hashCode(), actual.hashCode()); } public void testHashCodeForBooleanOperations() { Predicate<@Nullable Integer> p1 = Predicates.isNull(); Predicate<@Nullable Integer> p2 = isOdd();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 32.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingSortedSet.java
* * @since 7.0 */ @Override protected boolean standardContains(@Nullable Object object) { try { // any ClassCastExceptions and NullPointerExceptions are caught @SuppressWarnings({"unchecked", "nullness"}) SortedSet<@Nullable Object> self = (SortedSet<@Nullable Object>) this; Object ceiling = self.tailSet(object).first();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 5.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestListMultimapGenerator.java
import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * A generator for {@code ListMultimap} implementations based on test data. * * @author Louis Wasserman */ @GwtCompatible @NullMarked public interface TestListMultimapGenerator<K extends @Nullable Object, V extends @Nullable Object>Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.1K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
@Override public <T extends @NonNull B> @Nullable T getInstance(Class<T> type) { return trustedGet(TypeToken.of(type)); } @Override public <T extends @NonNull B> @Nullable T getInstance(TypeToken<T> type) { return trustedGet(type.rejectTypeVariables()); } @Override @CanIgnoreReturnValue public <T extends B> @Nullable T putInstance(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 5.7K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeParameter.java
* @author Ben Yu * @since 12.0 */ /* * A nullable bound would let users create a TypeParameter instance for a parameter with a nullable * bound. However, it would also let them create `new TypeParameter<@Nullable T>() {}`, which * wouldn't behave as users might expect. Additionally, it's not clear how the TypeToken API could * support even a "normal" `TypeParameter<T>` when `<T>` has a nullable bound. (See the discussion
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 2.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/NullsFirstOrdering.java
// ordering.reverse() might be optimized, so let it do its thing return ordering.<T>reverse().<@NonNull S>nullsLast(); } @SuppressWarnings("unchecked") // still need the right way to explain this @Override public <S extends @Nullable T> Ordering<@Nullable S> nullsFirst() { return (Ordering<@Nullable S>) this; } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
private static final Iterable<@Nullable Integer> iterableNull = Arrays.asList((Integer) null); private static final Iterable<@Nullable Integer> iterableNullNull = Arrays.asList((Integer) null, null); private static final Iterable<@Nullable Integer> iterableNull1 = Arrays.asList(null, 1); private static final Iterable<@Nullable Integer> iterable1Null = Arrays.asList(1, null);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.7K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu May 22 16:18:11 GMT 2025 - 11.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
List<@Nullable String> listWithNulls = asList("a", null, "b"); assertThrows(NullPointerException.class, () -> builder.addAll((List<String>) listWithNulls)); } { ImmutableMultiset.Builder<String> builder = ImmutableMultiset.builder(); Multiset<@Nullable String> multisetWithNull = LinkedHashMultiset.create(Arrays.<@Nullable String>asList("a", null, "b"));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.7K bytes - Click Count (0)