Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 884 for nullable (0.79 sec)

  1. 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() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java

        this.forward = forward;
      }
    
      @Override
      public int count(@Nullable Object element) {
        return forward.count(element);
      }
    
      @Override
      public @Nullable Entry<E> firstEntry() {
        return forward.lastEntry();
      }
    
      @Override
      public @Nullable Entry<E> lastEntry() {
        return forward.firstEntry();
      }
    
      @Override
      public int size() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TableCollectorsTest.java

                Cell::getValue,
                () -> {
                  Table<String, String, @Nullable Integer> table =
                      ArrayTable.create(ImmutableList.of("one"), ImmutableList.of("uno"));
                  return (Table<String, String, Integer>) table;
                });
        Cell<String, String, @Nullable Integer> cell = immutableCell("one", "uno", null);
        assertThrows(
            NullPointerException.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        };
      }
    
      @Override
      public @Nullable Entry<K, V> firstEntry() {
        return delegate.firstEntry();
      }
    
      @Override
      public K firstKey() {
        return delegate.firstKey();
      }
    
      @Override
      public @Nullable Entry<K, V> floorEntry(K key) {
        return delegate.floorEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K floorKey(K key) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractMultimap.java

    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A skeleton {@code Multimap} implementation, not necessarily in terms of a {@code Map}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    abstract class AbstractMultimap<K extends @Nullable Object, V extends @Nullable Object>
        implements Multimap<K, V> {
      @Override
      public boolean isEmpty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ExplicitOrdering.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import java.util.List;
    import org.jspecify.annotations.Nullable;
    
    /** An ordering that compares objects according to a given order. */
    @GwtCompatible
    final class ExplicitOrdering<T> extends Ordering<T> implements Serializable {
      final ImmutableMap<T, Integer> rankMap;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/LazyLogger.java

    import java.util.logging.Logger;
    import org.jspecify.annotations.Nullable;
    
    /** A holder for a {@link Logger} that is initialized only when requested. */
    @GwtCompatible
    final class LazyLogger {
      private final Object lock = new Object();
    
      private final String loggerName;
      private volatile @Nullable Logger logger;
    
      LazyLogger(Class<?> ownerOfLogger) {
        this.loggerName = ownerOfLogger.getName();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. 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(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingSetMultimap.java

     * invoke methods, they invoke methods on the {@code ForwardingSetMultimap}.
     *
     * @author Kurt Alfred Kluever
     * @since 3.0
     */
    @GwtCompatible
    public abstract class ForwardingSetMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingMultimap<K, V> implements SetMultimap<K, V> {
      /** Constructor for use by subclasses. */
      public ForwardingSetMultimap() {}
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

          List<@Nullable String> listWithNulls = asList("a", null, "b");
          assertThrows(NullPointerException.class, () -> builder.addAll((List<String>) listWithNulls));
        }
    
        {
          ImmutableList.Builder<String> builder = ImmutableList.builder();
          Iterator<@Nullable String> iteratorWithNulls =
              Arrays.<@Nullable String>asList("a", null, "b").iterator();
          assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top