Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 887 for nullable (0.06 sec)

  1. guava/src/com/google/common/collect/TransformedIterator.java

    import java.util.Iterator;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An iterator that transforms a backing iterator; for internal use. This avoids the object overhead
     * of constructing a {@link com.google.common.base.Function Function} for internal methods.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    abstract class TransformedIterator<F extends @Nullable Object, T extends @Nullable Object>
        implements Iterator<T> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@code Stream.empty()}.
       *
       * @since 20.0
       */
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      public static <E extends @Nullable Object> FluentIterable<E> of() {
        return FluentIterable.from(Collections.<E>emptyList());
      }
    
      /**
       * Returns a fluent iterable containing the specified elements in order.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#empty}.
       *
       * @since 20.0
       */
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      public static <E extends @Nullable Object> FluentIterable<E> of() {
        return FluentIterable.from(Collections.<E>emptyList());
      }
    
      /**
       * Returns a fluent iterable containing the specified elements in order.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

     * @since 4.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class ThreadFactoryBuilder {
      private @Nullable String nameFormat = null;
      private @Nullable Boolean daemon = null;
      private @Nullable Integer priority = null;
      private @Nullable UncaughtExceptionHandler uncaughtExceptionHandler = null;
      private @Nullable ThreadFactory backingThreadFactory = null;
    
      /**
       * Creates a new {@link ThreadFactory} builder.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/Graphs.java

        }
    
        @Override
        public @Nullable V edgeValueOrDefault(N nodeU, N nodeV, @Nullable V defaultValue) {
          return delegate().edgeValueOrDefault(nodeV, nodeU, defaultValue); // transpose
        }
    
        @Override
        public @Nullable V edgeValueOrDefault(EndpointPair<N> endpoints, @Nullable V defaultValue) {
          return delegate().edgeValueOrDefault(transpose(endpoints), defaultValue);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/Graphs.java

        }
    
        @Override
        public @Nullable V edgeValueOrDefault(N nodeU, N nodeV, @Nullable V defaultValue) {
          return delegate().edgeValueOrDefault(nodeV, nodeU, defaultValue); // transpose
        }
    
        @Override
        public @Nullable V edgeValueOrDefault(EndpointPair<N> endpoints, @Nullable V defaultValue) {
          return delegate().edgeValueOrDefault(transpose(endpoints), defaultValue);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    @GwtCompatible
    @NullMarked
    abstract class AbstractFilteredMapTest extends TestCase {
      private static final Predicate<@Nullable String> NOT_LENGTH_3 =
          input -> input == null || input.length() != 3;
      private static final Predicate<@Nullable Integer> EVEN = input -> input == null || input % 2 == 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Test cases for {@link Table} read operations.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public abstract class AbstractTableReadTest<C extends @Nullable Character> extends TestCase {
      protected Table<String, Integer, C> table;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CartesianList.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.util.AbstractList;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.RandomAccess;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link Lists#cartesianProduct(List)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class CartesianList<E> extends AbstractList<List<E>> implements RandomAccess {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

            .testEquals();
      }
    
      public void testOfEntriesNull() {
        Entry<@Nullable Integer, @Nullable Integer> nullKey = entry(null, 23);
        assertThrows(
            NullPointerException.class,
            () -> ImmutableMap.ofEntries((Entry<Integer, Integer>) nullKey));
        Entry<@Nullable Integer, @Nullable Integer> nullValue = entry(23, null);
        assertThrows(
            NullPointerException.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
Back to top