Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 467 for nilable (0.34 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSortedSet.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT emulation of {@link RegularImmutableSortedSet}.
     *
     * @author Hayward Chan
     */
    @ElementTypesAreNonnullByDefault
    final class RegularImmutableSortedSet<E> extends ImmutableSortedSet<E> {
    
      /** true if this set is a subset of another immutable sorted set. */
      final boolean isSubset;
    
      private @Nullable Comparator<E> unusedComparatorForSerialization;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Superclass for all {@code ListMultimap} testers.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @ElementTypesAreNonnullByDefault
    public class AbstractListMultimapTester<K extends @Nullable Object, V extends @Nullable Object>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/OptionalTest.java

          Optional<String> unused =
              Optional.of("a")
                  .transform(
                      (Function<String, String>)
                          new Function<String, @Nullable String>() {
                            @Override
                            public @Nullable String apply(String input) {
                              return null;
                            }
                          });
          fail("Should throw if Function returns null.");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT implementation of {@link ImmutableSet} that forwards to another {@code Set} implementation.
     *
     * @author Hayward Chan
     */
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Comparators.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import java.util.stream.Collector;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Provides static methods for working with {@link Comparator} instances. For many other helpful
     * comparator utilities, see either {@code Comparator} itself (for Java 8+), or {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  6. 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;
            }
          };
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  7. 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> {
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractMapTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractContainerTester<Map<K, V>, Entry<K, V>> {
      protected Map<K, V> getMap() {
        return container;
      }
    
      @Override
      protected Collection<Entry<K, V>> actualContents() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        final CountDownLatch exitLatch = new CountDownLatch(1);
        final TrustedListenableFutureTask<@Nullable Void> task =
            TrustedListenableFutureTask.create(
                new Callable<@Nullable Void>() {
                  @Override
                  public @Nullable Void call() throws Exception {
                    enterLatch.countDown();
                    new CountDownLatch(1).await(); // wait forever
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/UnmodifiableSortedMultiset.java

    import java.util.SortedSet;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@link Multisets#unmodifiableSortedMultiset(SortedMultiset)} for GWT.
     *
     * @author Louis Wasserman
     */
    @ElementTypesAreNonnullByDefault
    final class UnmodifiableSortedMultiset<E extends @Nullable Object> extends UnmodifiableMultiset<E>
        implements SortedMultiset<E> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top