Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,049 for Nullable (0.15 sec)

  1. android/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) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      @Generates
      static <K, V> Map<K, V> generateMap(@Nullable K key, @Nullable V value) {
        return generateHashdMap(key, value);
      }
    
      @Generates
      static <K, V> HashMap<K, V> generateHashdMap(@Nullable K key, @Nullable V value) {
        return generateLinkedHashMap(key, value);
      }
    
      @Generates
      static <K, V> LinkedHashMap<K, V> generateLinkedHashMap(@Nullable K key, @Nullable V value) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Iterators.java

       * @throws IllegalArgumentException if {@code size} is nonpositive
       */
      public static <T extends @Nullable Object>
          UnmodifiableIterator<List<@Nullable T>> paddedPartition(Iterator<T> iterator, int size) {
        return partitionImpl(iterator, size, true);
      }
    
      private static <T extends @Nullable Object> UnmodifiableIterator<List<@Nullable T>> partitionImpl(
          Iterator<T> iterator, int size, boolean pad) {
        checkNotNull(iterator);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/FunctionsTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link Functions}.
     *
     * @author Mike Bostock
     * @author Vlad Patryshev
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class FunctionsTest extends TestCase {
    
      public void testIdentity_same() {
        Function<@Nullable String, @Nullable String> identity = Functions.identity();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/FunctionsTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link Functions}.
     *
     * @author Mike Bostock
     * @author Vlad Patryshev
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class FunctionsTest extends TestCase {
    
      public void testIdentity_same() {
        Function<@Nullable String, @Nullable String> identity = Functions.identity();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

      /**
       * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code
       * Callable}.
       *
       * @param callable the callable task
       * @since 10.0
       */
      public static <V extends @Nullable Object> ListenableFutureTask<V> create(Callable<V> callable) {
        return new ListenableFutureTask<>(callable);
      }
    
      /**
       * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/PredicatesTest.java

          new Predicate<@Nullable Integer>() {
            @Override
            public boolean apply(@Nullable Integer i) {
              throw new AssertionFailedError("This predicate should never have been evaluated");
            }
          };
    
      /** Instantiable predicate with reasonable hashCode() and equals() methods. */
      static class IsOdd implements Predicate<@Nullable Integer>, Serializable {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        final CountDownLatch isInterruptibleRegistered = new CountDownLatch(1);
        final SlowChannel slowChannel = new SlowChannel();
        final InterruptibleTask<@Nullable Void> task =
            new InterruptibleTask<@Nullable Void>() {
              @Override
              @Nullable Void runInterruptibly() throws Exception {
                slowChannel.doBegin();
                isInterruptibleRegistered.countDown();
                try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Test cases for {@link Tables#transformValues}.
     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class TablesTransformValuesTest extends AbstractTableTest<Character> {
    
      private static final Function<@Nullable String, @Nullable Character> FIRST_CHARACTER =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MultimapBuilder.java

       */
      public static MultimapBuilderWithKeys<@Nullable Object> linkedHashKeys(int expectedKeys) {
        checkNonnegative(expectedKeys, "expectedKeys");
        return new MultimapBuilderWithKeys<@Nullable Object>() {
          @Override
          <K extends @Nullable Object, V extends @Nullable Object> Map<K, Collection<V>> createMap() {
            return Platform.newLinkedHashMapWithExpectedSize(expectedKeys);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top