Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 98 for notNull (0.03 sec)

  1. guava/src/com/google/common/eventbus/ParametricNullness.java

     * supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns
     * {@code @ParametricNullness E}, which means:
     *
     * <ul>
     *   <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull
     *       String}.
     *   <li>{@code getElement} on a {@code Multiset.Entry<@Nullable String>} returns {@code @Nullable
     *       String}.
     * </ul>
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 16:20:21 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/ParametricNullness.java

     * supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns
     * {@code @ParametricNullness E}, which means:
     *
     * <ul>
     *   <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull
     *       String}.
     *   <li>{@code getElement} on a {@code Multiset.Entry<@Nullable String>} returns {@code @Nullable
     *       String}.
     * </ul>
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 16:20:21 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/ParametricNullness.java

     * supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns
     * {@code @ParametricNullness E}, which means:
     *
     * <ul>
     *   <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull
     *       String}.
     *   <li>{@code getElement} on a {@code Multiset.Entry<@Nullable String>} returns {@code @Nullable
     *       String}.
     * </ul>
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 16:20:21 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

      private final Map<TypeToken<? extends @NonNull B>, B> backingMap = new HashMap<>();
    
      @Override
      public <T extends @NonNull B> @Nullable T getInstance(Class<T> type) {
        return trustedGet(TypeToken.of(type));
      }
    
      @Override
      public <T extends @NonNull B> @Nullable T getInstance(TypeToken<T> type) {
        return trustedGet(type.rejectTypeVariables());
      }
    
      @Override
      @CanIgnoreReturnValue
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       */
    
      /** Monitor guarding all access */
      final Monitor monitor;
    
      /** Guard for waiting takes */
      private final Monitor.Guard notEmpty;
    
      /** Guard for waiting puts */
      private final Monitor.Guard notFull;
    
      // Internal helper methods
    
      /** Circularly increment i. */
      final int inc(int i) {
        return (++i == items.length) ? 0 : i;
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/TypeToInstanceMap.java

       * getInstance(TypeToken.of(Foo.class))}.
       */
      <T extends @NonNull B> @Nullable T getInstance(Class<T> type);
    
      /**
       * Returns the value the specified type is mapped to, or {@code null} if no entry for this type is
       * present. This will only return a value that was bound to this specific type, not a value that
       * may have been bound to a subtype.
       */
      <T extends @NonNull B> @Nullable T getInstance(TypeToken<T> type);
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

       * getInstance(TypeToken.of(Foo.class))}.
       */
      <T extends @NonNull B> @Nullable T getInstance(Class<T> type);
    
      /**
       * Returns the value the specified type is mapped to, or {@code null} if no entry for this type is
       * present. This will only return a value that was bound to this specific type, not a value that
       * may have been bound to a subtype.
       */
      <T extends @NonNull B> @Nullable T getInstance(TypeToken<T> type);
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(predicate).findFirst()}.
       */
      public final Optional<@NonNull E> firstMatch(Predicate<? super E> predicate) {
        // Unsafe, but we can't do much about it now.
        return Iterables.<@NonNull E>tryFind((Iterable<@NonNull E>) getDelegate(), predicate);
      }
    
      /**
       * Returns a fluent iterable that applies {@code function} to each element of this fluent
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/AbstractTableTest.java

    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Map;
    import org.jspecify.annotations.NonNull;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Test cases for a {@link Table} implementation supporting reads and writes.
     *
     * @author Jared Levy
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ObjectArrays.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.lang.reflect.Array;
    import java.util.Arrays;
    import java.util.Collection;
    import org.jspecify.annotations.NonNull;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Static utility methods pertaining to object arrays.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:48:28 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top