Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 886 for nullable (0.16 sec)

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

    import java.io.Serializable;
    import java.util.Objects;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An ordering that orders elements by applying an order to the result of a function on those
     * elements.
     */
    @GwtCompatible
    final class ByFunctionOrdering<F extends @Nullable Object, T extends @Nullable Object>
        extends Ordering<F> implements Serializable {
      final Function<F, ? extends T> function;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/FunctionalEquivalence.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Equivalence applied on functional result.
     *
     * @author Bob Lee
     * @since 10.0
     */
    @GwtCompatible
    final class FunctionalEquivalence<F, T> extends Equivalence<F> implements Serializable {
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    
      private final Function<? super F, ? extends @Nullable T> function;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public abstract class AbstractMultimapTester<
            K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>>
        extends AbstractContainerTester<M, Entry<K, V>> {
    
      private M multimap;
    
      protected M multimap() {
        return multimap;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    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 {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractSequentialIterator.java

     */
    @GwtCompatible
    public abstract class AbstractSequentialIterator<T> extends UnmodifiableIterator<T> {
      private @Nullable T nextOrNull;
    
      /**
       * Creates a new iterator with the given first element, or, if {@code firstOrNull} is null,
       * creates a new empty iterator.
       */
      protected AbstractSequentialIterator(@Nullable T firstOrNull) {
        this.nextOrNull = firstOrNull;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

    import java.util.Optional;
    
    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.services.Source;
    
    /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Sep 10 17:18:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

    import java.util.concurrent.TimeoutException;
    import org.jspecify.annotations.Nullable;
    
    /** Static methods used to implement {@link Futures#getChecked(Future, Class)}. */
    @J2ktIncompatible
    @GwtIncompatible
    final class FuturesGetChecked {
      @CanIgnoreReturnValue
      @ParametricNullness
      static <V extends @Nullable Object, X extends Exception> V getChecked(
          Future<V> future, Class<X> exceptionClass) throws X {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.lang.Math.min;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Map;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link UnicodeEscaper} that uses an array to quickly look up replacement characters for a given
     * code point. An additional safe range is provided that determines whether code points without
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/MoreObjects.java

          valueHolder.name = checkNotNull(name);
          return this;
        }
    
        // Holder object for values that might be null and/or empty.
        static class ValueHolder {
          @Nullable String name;
          @Nullable Object value;
          @Nullable ValueHolder next;
        }
    
        /**
         * Holder object for values that cannot be null or empty (will be printed unconditionally). This
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

          return standardSubMultiset(lowerBound, lowerBoundType, upperBound, upperBoundType);
        }
    
        @Override
        public int count(@Nullable Object element) {
          return standardCount(element);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return standardEquals(object);
        }
    
        @Override
        public int hashCode() {
          return standardHashCode();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top