Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 875 for Nullable (0.04 sec)

  1. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

      abstract <R> @Nullable R dummyReturnValue(TypeToken<R> returnType);
    
      private final class DummyHandler extends AbstractInvocationHandler implements Serializable {
        private final TypeToken<?> interfaceType;
    
        DummyHandler(TypeToken<?> interfaceType) {
          this.interfaceType = interfaceType;
        }
    
        @Override
        protected @Nullable Object handleInvocation(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerException.java

         */
        public InvokerException(@Nullable String message) {
            super(message);
        }
    
        /**
         * Constructs a new {@code InvokerException} with the specified detail message and cause.
         *
         * @param message the detail message explaining the cause of the exception
         * @param cause the underlying cause of the exception
         */
        public InvokerException(@Nullable String message, @Nullable Throwable cause) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Nov 13 14:14:56 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

      public abstract UnmodifiableIterator<E> iterator();
    
      @Override
      public boolean contains(@Nullable Object object) {
        return object != null && super.contains(object);
      }
    
      @Override
      public final boolean add(E e) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public final boolean remove(@Nullable Object object) {
        throw new UnsupportedOperationException();
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

       * equal to any other equality groups added to this tester.
       *
       * <p>The {@code @Nullable} annotations on the {@code equalityGroup} parameter imply that the
       * objects, and the array itself, can be null. That is for programmer convenience, when the
       * objects come from factory methods that are themselves {@code @Nullable}. In reality neither the
       * array nor its contents can be null, but it is not useful to force the use of {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerRequest.java

    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.NotThreadSafe;
    import org.apache.maven.api.annotations.Nullable;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * A request for installing one or more artifacts in the local repository.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public abstract class AbstractMapTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractContainerTester<Map<K, V>, Entry<K, V>> {
      protected Map<K, V> getMap() {
        return container;
      }
    
      @Override
      protected Collection<Entry<K, V>> actualContents() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestListGenerator.java

    import java.util.List;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates sets, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public interface TestListGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> {
      @Override
      List<E> create(Object... elements);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Uninterruptibles.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Future;
    import org.jspecify.annotations.Nullable;
    
    /** Emulation of Uninterruptibles in GWT. */
    public final class Uninterruptibles {
    
      private Uninterruptibles() {}
    
      @CanIgnoreReturnValue
      public static <V extends @Nullable Object> V getUninterruptibly(Future<V> future)
          throws ExecutionException {
        try {
          return future.get();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class MultimapSizeTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
    
      public void testSize() {
        int expectedSize = getNumElements();
        Multimap<K, V> multimap = multimap();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableBiMap.java

    import static java.util.Collections.singletonMap;
    
    import org.jspecify.annotations.Nullable;
    
    /**
     * GWT emulation of {@link SingletonImmutableBiMap}.
     *
     * @author Hayward Chan
     */
    final class SingletonImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
      private final K singleKey;
      private final V singleValue;
    
      @Nullable transient SingletonImmutableBiMap<V, K> inverse;
    
      SingletonImmutableBiMap(K key, V value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 22:23:20 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top