Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 884 for nullable (0.04 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

    import org.apache.maven.api.annotations.NotThreadSafe;
    import org.apache.maven.api.annotations.Nullable;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionRangeResolverRequest extends Request<Session> {
    
        @Nonnull
        ArtifactCoordinates getArtifactCoordinates();
    
        @Nullable
        List<RemoteRepository> getRepositories();
    
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverRequest.java

    import org.apache.maven.api.annotations.NotThreadSafe;
    import org.apache.maven.api.annotations.Nullable;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionResolverRequest extends Request<Session> {
    
        @Nonnull
        ArtifactCoordinates getArtifactCoordinates();
    
        @Nullable
        List<RemoteRepository> getRepositories();
    
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. 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)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          new IteratorOperation() {
            @Override
            public @Nullable Object execute(Iterator<?> iterator) {
              iterator.remove();
              return null;
            }
          };
    
      private static final IteratorOperation NEXT_METHOD =
          new IteratorOperation() {
            @Override
            public @Nullable Object execute(Iterator<?> iterator) {
              return iterator.next();
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

       *       </ul>
       *   <li>other method calls are dispatched to {@link #handleInvocation}.
       * </ul>
       */
      @Override
      public final @Nullable Object invoke(
          Object proxy, Method method, @Nullable Object @Nullable [] args) throws Throwable {
        if (args == null) {
          args = NO_ARGS;
        }
        if (args.length == 0 && method.getName().equals("hashCode")) {
          return hashCode();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/FilteredKeySetMultimap.java

    import java.util.Map.Entry;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link Multimaps#filterKeys(SetMultimap, Predicate)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class FilteredKeySetMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends FilteredKeyMultimap<K, V> implements FilteredSetMultimap<K, V> {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        return instance;
      }
    
      private static <T> @Nullable T invoke(Invokable<?, ? extends T> factory, List<?> args)
          throws InvocationTargetException, IllegalAccessException {
        T returnValue = factory.invoke(null, args.toArray());
        if (returnValue == null) {
          Assert.assertTrue(
              factory + " returns null but it's not annotated with @Nullable", isNullable(factory));
        }
        return returnValue;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/UnmodifiableIterator.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.DoNotCall;
    import java.util.Iterator;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An iterator that does not support {@link #remove}.
     *
     * <p>{@code UnmodifiableIterator} is used primarily in conjunction with implementations of {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top