Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 815 for Nullable (0.11 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

    import java.math.BigInteger;
    import java.util.Comparator;
    import java.util.PriorityQueue;
    import java.util.Queue;
    import java.util.Random;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Benchmarks to compare performance of MinMaxPriorityQueue and PriorityQueue.
     *
     * @author Sverre Sundsdal
     */
    public class MinMaxPriorityQueueBenchmark {
      @Param private ComparatorType comparator;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

          table.put('b', "four", 4);
          return table.row('a');
        }
      }
    
      static final Function<@Nullable Integer, @Nullable Integer> DIVIDE_BY_2 =
          new Function<@Nullable Integer, @Nullable Integer>() {
            @Override
            public @Nullable Integer apply(@Nullable Integer input) {
              return (input == null) ? null : input / 2;
            }
          };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TableCollectionTest.java

          table.put('b', "four", 4);
          return table.row('a');
        }
      }
    
      static final Function<@Nullable Integer, @Nullable Integer> DIVIDE_BY_2 =
          new Function<@Nullable Integer, @Nullable Integer>() {
            @Override
            public @Nullable Integer apply(@Nullable Integer input) {
              return (input == null) ? null : input / 2;
            }
          };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ListeningScheduledExecutorService.java

      @Override
      ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit);
    
      /** @since 15.0 (previously returned ScheduledFuture) */
      @Override
      <V extends @Nullable Object> ListenableScheduledFuture<V> schedule(
          Callable<V> callable, long delay, TimeUnit unit);
    
      /** @since 15.0 (previously returned ScheduledFuture) */
      @Override
      ListenableScheduledFuture<?> scheduleAtFixedRate(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. migrator/column_type.go

    		return ct.DecimalSizeValue.Int64, ct.ScaleValue.Int64, true
    	}
    	return ct.SQLColumnType.DecimalSize()
    }
    
    // Nullable reports whether the column may be null.
    func (ct ColumnType) Nullable() (nullable bool, ok bool) {
    	if ct.NullableValue.Valid {
    		return ct.NullableValue.Bool, true
    	}
    	return ct.SQLColumnType.Nullable()
    }
    
    // Unique reports whether the column may be unique.
    func (ct ColumnType) Unique() (unique bool, ok bool) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingListMultimap.java

     *
     * @author Kurt Alfred Kluever
     * @since 3.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingListMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingMultimap<K, V> implements ListMultimap<K, V> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingListMultimap() {}
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/SettableFuture.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class SettableFuture<V extends @Nullable Object>
        extends AbstractFuture.TrustedFuture<V> {
      /**
       * Creates a new {@code SettableFuture} that can be completed or cancelled by a later method call.
       */
      public static <V extends @Nullable Object> SettableFuture<V> create() {
        return new SettableFuture<>();
      }
    
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java

        boolean contains(@Nonnull Version version);
    
        /**
         * Returns the upper boundary of this range, or {@code null} if none.
         */
        @Nullable
        Boundary getUpperBoundary();
    
        /**
         * Returns the lower boundary of this range, or {@code null} if none.
         */
        @Nullable
        Boundary getLowerBoundary();
    
        /**
         * Returns a string representation of this version range
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/TestBiMapGenerator.java

    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates bimaps, containing sample entries, to be tested.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestBiMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
        extends TestContainerGenerator<BiMap<K, V>, Entry<K, V>> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractTableTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Test cases for a {@link Table} implementation supporting reads and writes.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractTableTest<C extends @Nullable Character>
        extends AbstractTableReadTest<C> {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top