Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 887 for nullable (0.35 sec)

  1. android/guava/src/com/google/common/graph/AbstractUndirectedNetworkConnections.java

    import static com.google.common.base.Preconditions.checkState;
    import static java.util.Objects.requireNonNull;
    
    import java.util.Collections;
    import java.util.Map;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A base implementation of {@link NetworkConnections} for undirected networks.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <E> Edge parameter type
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/TestLogHandler.java

    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.logging.Handler;
    import java.util.logging.LogRecord;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests may use this to intercept messages that are logged by the code under test. Example:
     *
     * <pre>
     *   TestLogHandler handler;
     *
     *   protected void setUp() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TransposedTableTest.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Test cases for {@link Tables#transpose}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class TransposedTableTest extends AbstractTableTest<Character> {
    
      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

        }
    
        @Override
        public boolean offer(T o) {
          return standardOffer(o);
        }
    
        @Override
        public @Nullable T peek() {
          return standardPeek();
        }
    
        @Override
        public @Nullable T poll() {
          return standardPoll();
        }
      }
    
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/AppendableWriter.java

        checkNotClosed();
        target.append(c);
        return this;
      }
    
      @Override
      public Writer append(@Nullable CharSequence charSeq) throws IOException {
        checkNotClosed();
        target.append(charSeq);
        return this;
      }
    
      @Override
      public Writer append(@Nullable CharSequence charSeq, int start, int end) throws IOException {
        checkNotClosed();
        target.append(charSeq, start, end);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/IoTestCase.java

    import java.util.HashSet;
    import java.util.Set;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Base test case class for I/O tests.
     *
     * @author Chris Nokleberg
     * @author Colin Decker
     */
    @NullUnmarked
    public abstract class IoTestCase extends TestCase {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * @throws ExecutionException if {@code callable} throws a checked exception
       * @throws UncheckedExecutionException if {@code callable} throws a {@code RuntimeException}
       * @throws ExecutionError if {@code callable} throws an {@code Error}
       * @since 22.0
       */
      @CanIgnoreReturnValue
      @ParametricNullness
      <T extends @Nullable Object> T callUninterruptiblyWithTimeout(
          Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

    import static java.util.Collections.shuffle;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Package up sample data for common collections benchmarking.
     *
     * @author Nicholaus Shupe
     */
    @NullUnmarked
    class CollectionBenchmarkSampleData {
      private final boolean isUserTypeFast;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Predicate.java

     * the License.
     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Legacy version of {@link java.util.function.Predicate java.util.function.Predicate}. Determines a
     * true or false value for a given input.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 15:22:00 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

    import java.util.List;
    import java.util.ListIterator;
    import java.util.Set;
    import java.util.concurrent.CopyOnWriteArraySet;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code listIterator} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top