Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 815 for Nullable (0.15 sec)

  1. android/guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link Multisets#immutableEntry}.
     *
     * @author Mike Bostock
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class MultisetsImmutableEntryTest extends TestCase {
      private static final @Nullable String NE = null;
    
      private static <E extends @Nullable Object> Entry<E> entry(final E element, final int count) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<@Nullable String> set = Arrays.<@Nullable String>asList("a", null, "b").iterator();
        assertTrue(Iterators.contains(set, "b"));
      }
    
      public void test_contains_nonnull_no() {
        Iterator<String> set = asList("a", "b").iterator();
        assertFalse(Iterators.contains(set, "c"));
      }
    
      public void test_contains_null_yes() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  3. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

    import java.util.WeakHashMap;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.atomic.AtomicBoolean;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link GcFinalization}.
     *
     * @author Martin Buchholz
     * @author mike nonemacher
     */
    @AndroidIncompatible // depends on details of gc
    
    public class GcFinalizationTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java

    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates map entries using sample keys and sample values.
     *
     * @author Jesse Wilson
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestMapEntrySetGenerator<
            K extends @Nullable Object, V extends @Nullable Object>
        implements TestSetGenerator<Map.Entry<K, V>> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractBiMap.java

     *
     * @author Kevin Bourrillion
     * @author Mike Bostock
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    abstract class AbstractBiMap<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingMap<K, V> implements BiMap<K, V>, Serializable {
    
      @SuppressWarnings("nullness:initialization.field.uninitialized") // For J2KT (lateinit)
      private transient Map<K, V> delegate;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestMapGenerator.java

    import java.util.Map;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates maps, containing sample elements, to be tested.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
        extends TestContainerGenerator<Map<K, V>, Map.Entry<K, V>> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/FilteredMultimap.java

    import com.google.common.base.Predicate;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An interface for all filtered multimap types.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    interface FilteredMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends Multimap<K, V> {
      Multimap<K, V> unfiltered();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/SortedMapDifference.java

    import java.util.SortedMap;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An object representing the differences between two sorted maps.
     *
     * @author Louis Wasserman
     * @since 8.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface SortedMapDifference<K extends @Nullable Object, V extends @Nullable Object>
        extends MapDifference<K, V> {
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 04 13:28:27 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

    import java.io.ObjectOutputStream;
    import java.math.RoundingMode;
    import java.util.SortedMap;
    import java.util.SortedSet;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link MultimapBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class MultimapBuilderTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top