Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 878 for Nullable (0.06 sec)

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

        return CollectionTestSuiteBuilder.using(
                new TestStringCollectionGenerator() {
                  @Override
                  public Collection<@Nullable String> create(@Nullable String[] elements) {
                    List<@Nullable String> list = new ArrayList<>();
                    for (String element : elements) {
                      list.add((element == null) ? null : "q" + element);
                    }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/PairwiseEquivalence.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import java.util.Iterator;
    import org.jspecify.annotations.Nullable;
    
    @GwtCompatible
    final class PairwiseEquivalence<E, T extends @Nullable E> extends Equivalence<Iterable<T>>
        implements Serializable {
      final Equivalence<E> elementEquivalence;
    
      PairwiseEquivalence(Equivalence<E> elementEquivalence) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

      public boolean isEmpty() {
        return size() == 0;
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        return get(key) != null;
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        return values().contains(value);
      }
    
      private transient @Nullable ImmutableSet<Entry<K, V>> cachedEntrySet = null;
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * This class provides a skeletal implementation of the {@link ListIterator} interface across a
     * fixed number of elements that may be retrieved by position. It does not support {@link #remove},
     * {@link #set}, or {@link #add}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    abstract class AbstractIndexedListIterator<E extends @Nullable Object>
        extends UnmodifiableListIterator<E> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

    @GwtCompatible
    public abstract class FluentFuture<V extends @Nullable Object>
        extends GwtFluentFutureCatchingSpecialization<V> {
    
      /**
       * A less abstract subclass of AbstractFuture. This can be used to optimize setFuture by ensuring
       * that {@link #get} calls exactly the implementation of {@link AbstractFuture#get}.
       */
      abstract static class TrustedFuture<V extends @Nullable Object> extends FluentFuture<V>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/TreeBasedTable.java

        return new TreeRow(rowKey);
      }
    
      private final class TreeRow extends Row implements SortedMap<C, V> {
        final @Nullable C lowerBound;
        final @Nullable C upperBound;
    
        TreeRow(R rowKey) {
          this(rowKey, null, null);
        }
    
        TreeRow(R rowKey, @Nullable C lowerBound, @Nullable C upperBound) {
          super(rowKey);
          this.lowerBound = lowerBound;
          this.upperBound = upperBound;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/reflect/Types.java

        TypeVariableInvocationHandler(TypeVariableImpl<?> typeVariableImpl) {
          this.typeVariableImpl = typeVariableImpl;
        }
    
        @Override
        public @Nullable Object invoke(Object proxy, Method method, @Nullable Object @Nullable [] args)
            throws Throwable {
          String methodName = method.getName();
          Method typeVariableMethod = typeVariableMethods.get(methodName);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/SettableFuture.java

     * @since 9.0 (in 1.0 as {@code ValueFuture})
     */
    @GwtCompatible
    public final class SettableFuture<V extends @Nullable Object>
        extends AbstractFuture.TrustedFuture<V> {
      /**
       * Creates a new {@code SettableFuture} that can be completed or cancelled by a later method call.
       */
      public static <V extends @Nullable Object> SettableFuture<V> create() {
        return new SettableFuture<>();
      }
    
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/VersionConstraint.java

         */
        @Nullable
        VersionRange getVersionRange();
    
        /**
         * Returns the recommended version of this constraint, or {@code null} if none.
         * <p>
         * Note: only one, this method or {@link #getVersionRange()} method must return non-{@code null} value.
         */
        @Nullable
        Version getRecommendedVersion();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class SetMultimapAsMapTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimapTester<K, V, SetMultimap<K, V>> {
      public void testAsMapValuesImplementSet() {
        for (Collection<V> valueCollection : multimap().asMap().values()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top