Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1641 - 1650 of 3,323 for author (0.04 sec)

  1. guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test suite covering {@link Ints#asList(int[])}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings("cast") // redundant casts are intentional and harmless
    @NullUnmarked
    @AndroidIncompatible // test-suite builders
    public class IntArrayAsListTest extends TestCase {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/MoreCollectors.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Collectors not present in {@code java.util.stream.Collectors} that are not otherwise associated
     * with a {@code com.google.common} type.
     *
     * @author Louis Wasserman
     * @since 21.0
     */
    @GwtCompatible
    public final class MoreCollectors {
    
      /*
       * TODO(lowasser): figure out if we can convert this to a concurrent AtomicReference-based
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

    /**
     * An {@link ExecutorService} that returns {@link ListenableFuture} instances. To create an instance
     * from an existing {@link ExecutorService}, call {@link
     * MoreExecutors#listeningDecorator(ExecutorService)}.
     *
     * @author Chris Povirk
     * @since 10.0
     */
    @DoNotMock(
        "Use TestingExecutors.sameThreadScheduledExecutor, or wrap a real Executor from "
            + "java.util.concurrent.Executors with MoreExecutors.listeningDecorator")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Helpers}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    public class HelpersTest extends TestCase {
      public void testNullsBeforeB() {
        testComparator(NullsBeforeB.INSTANCE, "a", "azzzzzz", null, "b", "c");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code
     * ListMultimap} implementation.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class ListMultimapTestSuiteBuilder<K, V>
        extends MultimapTestSuiteBuilder<K, V, ListMultimap<K, V>> {
    
      public static <K, V> ListMultimapTestSuiteBuilder<K, V> using(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

    import java.util.Map.Entry;
    import java.util.Set;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    import org.junit.Ignore;
    
    /**
     * Testers for {@link SetMultimap#asMap}.
     *
     * @author Louis Wasserman
     * @param <K> The key type of the tested multimap.
     * @param <V> The value type of the tested multimap.
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Platform.java

    import java.lang.ref.WeakReference;
    import java.util.Locale;
    import java.util.regex.Pattern;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Methods factored out so that they can be emulated differently in GWT.
     *
     * @author Jesse Wilson
     */
    @GwtCompatible
    final class Platform {
      private static final PatternCompiler patternCompiler = loadPatternCompiler();
    
      private Platform() {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

    import java.util.concurrent.ExecutorService;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test case for {@link ListenableFutureTask}.
     *
     * @author Sven Mawson
     */
    @NullUnmarked
    public class ListenableFutureTaskTest extends TestCase {
    
      private ExecutorService exec;
    
      protected final CountDownLatch runLatch = new CountDownLatch(1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

    import java.util.List;
    import java.util.Map.Entry;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A container class for the five sample elements we need for testing.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public class SampleElements<E extends @Nullable Object> implements Iterable<E> {
      // TODO: rename e3, e4 => missing1, missing2
      private final E e0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@code CompactHashMap}.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class CompactHashMapTest extends TestCase {
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top