Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1841 - 1850 of 3,422 for _extends (0.03 seconds)

  1. android/guava-tests/test/com/google/common/collect/TablesTest.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Tables}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class TablesTest extends TestCase {
    
      @GwtIncompatible // SerializableTester
      public void testImmutableEntrySerialization() {
        Cell<String, Integer, Character> entry = immutableCell("foo", 1, 'a');
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

        Thread.interrupted();
      }
    
      /**
       * Retrieves the result of a {@code Future} known to be done but uses the {@code get(long,
       * TimeUnit)} overload in order to test that method.
       */
      static <V extends @Nullable Object> V getDoneFromTimeoutOverload(Future<V> future)
          throws ExecutionException {
        checkState(future.isDone(), "Future was expected to be done: %s", future);
        try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

      /**
       * Ensures that all interface methods of {@code forwarderClass} are forwarded to the {@link
       * ForwardingObject#delegate}. {@code forwarderClass} is assumed to only implement one interface.
       */
      static <T extends ForwardingObject> void testForwardingObject(Class<T> forwarderClass) {
        List<Class<?>> interfaces = new ArrayList<>(Arrays.asList(forwarderClass.getInterfaces()));
        // Desugaring may introduce AutoCloseable as an extra interface.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/eventbus/AsyncEventBus.java

    /**
     * An {@link EventBus} that takes the Executor of your choice and uses it to dispatch events,
     * allowing dispatch to occur asynchronously.
     *
     * @author Cliff Biffle
     * @since 10.0
     */
    public class AsyncEventBus extends EventBus {
    
      /**
       * Creates a new AsyncEventBus that will use {@code executor} to dispatch events. Assigns {@code
       * identifier} as the bus's name for logging purposes.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  5. guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.ScheduledFuture;
    import junit.framework.TestCase;
    
    /**
     * Tests for TestingExecutors.
     *
     * @author Eric Chang
     */
    public class TestingExecutorsTest extends TestCase {
      private volatile boolean taskDone;
    
      public void testNoOpScheduledExecutor() throws InterruptedException {
        taskDone = false;
        Runnable task = () -> taskDone = true;
        ScheduledFuture<?> future =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/testing/TestLogHandler.java

     *     assertEquals("some message", firstRecord.getMessage());
     *   }
     * </pre>
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtCompatible
    @NullMarked
    public class TestLogHandler extends Handler {
      private final Object lock = new Object();
    
      /** We will keep a private list of all logged records */
      @GuardedBy("lock")
      private final List<LogRecord> list = new ArrayList<>();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class QueueRemoveTester<E> extends AbstractQueueTester<E> {
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRemove_empty() {
        assertThrows(NoSuchElementException.class, () -> getQueue().remove());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class SetMultimapPutTester<K, V> extends AbstractMultimapTester<K, V, SetMultimap<K, V>> {
      // Tests for non-duplicate values are in MultimapPutTester
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests {@link EmptyImmutableTable}
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @NullMarked
    public class EmptyImmutableTableTest extends AbstractImmutableTableTest {
      private static final ImmutableTable<Character, Integer, String> INSTANCE = ImmutableTable.of();
    
      @Override
      Iterable<ImmutableTable<Character, Integer, String>> getTestInstances() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/TransposedTableTest.java

    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) {
        Table<Integer, String, Character> original = HashBasedTable.create();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 2.9K bytes
    - Click Count (0)
Back to Top