Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 771 - 780 of 1,188 for NULLABLE (0.17 seconds)

  1. android/guava/src/com/google/common/collect/ForwardingIterator.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Iterator;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An iterator which forwards all its method calls to another iterator. Subclasses should override
     * one or more methods to modify the behavior of the backing iterator as desired per the <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  2. guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/TestPlatform.java

    import static junit.framework.Assert.fail;
    
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Future;
    import java.util.concurrent.TimeoutException;
    import org.jspecify.annotations.Nullable;
    
    /** Methods factored out so that they can be emulated differently in GWT. */
    final class TestPlatform {
      static void verifyGetOnPendingFuture(Future<?> future) {
        try {
          future.get();
          fail();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/IndexedImmutableSet.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.util.Spliterator;
    import java.util.function.Consumer;
    import org.jspecify.annotations.Nullable;
    
    @GwtCompatible
    abstract class IndexedImmutableSet<E> extends ImmutableSet.CachingAsList<E> {
      abstract E get(int index);
    
      @Override
      public UnmodifiableIterator<E> iterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      public void testPutAllNullForbidden() {
        assertThrows(NullPointerException.class, () -> multimap().putAll(null, singletonList(v3())));
      }
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllEmptyCollectionOnAbsentKey() {
        assertFalse(multimap().putAll(k3(), Collections.emptyList()));
        expectUnchanged();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

    import java.util.Collection;
    import java.util.Iterator;
    import java.util.LinkedList;
    import java.util.Queue;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Synchronized#queue} and {@link Queues#synchronizedQueue}.
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class SynchronizedQueueTest extends TestCase {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/RestTestTransformGlobalSetup.java

     * Side Public License, v 1.
     */
    
    package org.elasticsearch.gradle.internal.test.rest.transform;
    
    import com.fasterxml.jackson.databind.node.ObjectNode;
    
    import javax.annotation.Nullable;
    
    /**
     * A type of {@link RestTestTransform} that transformations or adds a global "setup" section.
     */
    public interface RestTestTransformGlobalSetup {
    
        /**
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 935 bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/hash/Striped64.java

    import java.lang.reflect.Field;
    import java.security.AccessController;
    import java.security.PrivilegedActionException;
    import java.security.PrivilegedExceptionAction;
    import java.util.Random;
    import org.jspecify.annotations.Nullable;
    import sun.misc.Unsafe;
    
    /**
     * A package-local class holding common representation and mechanics for classes supporting dynamic
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 15 22:17:15 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * @param language the language of the sources to return, or {@code null} for all languages
         */
        @Nonnull
        Stream<SourceRoot> getEnabledSourceRoots(
                @Nonnull Project project, @Nullable ProjectScope scope, @Nullable Language language);
    
        /**
         * Adds the given source to the given project.
         * If a source already exists for the given scope, language and directory,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/graph/AbstractGraphBuilder.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import org.jspecify.annotations.Nullable;
    
    /**
     * A base class for builders that construct graphs with user-defined properties.
     *
     * @author James Sexton
     */
    abstract class AbstractGraphBuilder<N> {
      final boolean directed;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/OneSizeTestContainerGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.Collection;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * The subject-generator interface accepted by Collection testers, for testing a Collection at one
     * particular {@link CollectionSize}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
Back to Top