Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 454 for nilable (0.36 sec)

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

     *
     * @author Mike Bostock
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingMapEntry<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingObject implements Map.Entry<K, V> {
      // TODO(lowasser): identify places where thread safety is actually lost
    
      /** Constructor for use by subclasses. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Mar 19 19:28:11 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Superclass for all {@code Multimap} testers.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractMultimapTester<
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Collections2.java

       */
      public static <F extends @Nullable Object, T extends @Nullable Object> Collection<T> transform(
          Collection<F> fromCollection, Function<? super F, T> function) {
        return new TransformedCollection<>(fromCollection, function);
      }
    
      static class TransformedCollection<F extends @Nullable Object, T extends @Nullable Object>
          extends AbstractCollection<T> {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Collection;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Base class for collection testers.
     *
     * @param <E> the element type of the collection to be tested.
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

     */
    @GwtCompatible(emulated = true)
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @ElementTypesAreNonnullByDefault
    public class MapPutAllTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMapTester<K, V> {
      private List<Entry<K, V>> containsNullKey;
      private List<Entry<K, V>> containsNullValue;
    
      @Override
      public void setUp() throws Exception {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

    import java.util.List;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Base class for list testers.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class AbstractListTester<E extends @Nullable Object> extends AbstractCollectionTester<E> {
      /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        try {
          copyOf((String[]) null);
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testCopyOf_arrayContainingOnlyNull() {
        @Nullable String[] array = new @Nullable String[] {null};
        try {
          copyOf((String[]) array);
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testCopyOf_collection_empty() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        ArrayListMultimap<@Nullable String, Integer> input = ArrayListMultimap.create();
        input.put(null, 1);
        try {
          ImmutableListMultimap.copyOf((ArrayListMultimap<String, Integer>) input);
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testCopyOfNullValue() {
        ArrayListMultimap<String, @Nullable Integer> input = ArrayListMultimap.create();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        try {
          copyOf((String[]) null);
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testCopyOf_arrayContainingOnlyNull() {
        @Nullable String[] array = new @Nullable String[] {null};
        try {
          copyOf((String[]) array);
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testCopyOf_collection_empty() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      public void testCopyOfNullKey() {
        HashMultimap<@Nullable String, Integer> input = HashMultimap.create();
        input.put(null, 1);
        try {
          ImmutableSetMultimap.copyOf((Multimap<String, Integer>) input);
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testCopyOfNullValue() {
        HashMultimap<String, @Nullable Integer> input = HashMultimap.create();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.4K bytes
    - Viewed (0)
Back to top