Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 467 for nilable (0.14 sec)

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

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT emulation of {@code SortedMultiset}, with {@code elementSet} reduced to returning a {@code
     * SortedSet} for GWT compatibility.
     *
     * @author Louis Wasserman
     * @since 11.0
     */
    @ElementTypesAreNonnullByDefault
    public interface SortedMultiset<E extends @Nullable Object> extends Multiset<E>, SortedIterable<E> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. 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)
  3. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.function.BiConsumer;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of ImmutableMap backed by a JDK HashMap, which has smartness protecting against
     * hash flooding.
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. android/guava/src/com/google/common/collect/SingletonImmutableSet.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Preconditions;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@link ImmutableSet} with exactly one element.
     *
     * @author Kevin Bourrillion
     * @author Nick Kralevich
     */
    @GwtCompatible(serializable = true, emulated = true)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top