Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Nymann (0.18 sec)

  1. android/guava/src/com/google/common/base/Supplier.java

     * java.util.function.Supplier}, making conversion code necessary only in one direction. At that
     * time, this interface will be officially discouraged.
     *
     * @author Harry Heymann
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface Supplier<T extends @Nullable Object>
    {
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link FakeTimeLimiter}.
     *
     * @author Jens Nyman
     */
    public class FakeTimeLimiterTest extends TestCase {
    
      private static final int DELAY_MS = 50;
      private static final String RETURN_VALUE = "abc";
    
      private TimeLimiter timeLimiter;
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link FakeTimeLimiter}.
     *
     * @author Jens Nyman
     */
    public class FakeTimeLimiterTest extends TestCase {
    
      private static final int DELAY_MS = 50;
      private static final String RETURN_VALUE = "abc";
    
      private TimeLimiter timeLimiter;
    
      @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

     * time-limited would be extremely annoying, so this gives you a time-limiter you can easily swap in
     * for your real time-limiter while you're debugging.
     *
     * @author Kevin Bourrillion
     * @author Jens Nyman
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class FakeTimeLimiter implements TimeLimiter {
      @CanIgnoreReturnValue // TODO(kak): consider removing this
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link SimpleTimeLimiter}.
     *
     * @author kevinb
     * @author Jens Nyman
     */
    public class SimpleTimeLimiterTest extends TestCase {
    
      private static final long DELAY_MS = 50;
      private static final long ENOUGH_MS = 10000;
      private static final long NOT_ENOUGH_MS = 5;
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link SimpleTimeLimiter}.
     *
     * @author kevinb
     * @author Jens Nyman
     */
    public class SimpleTimeLimiterTest extends TestCase {
    
      private static final long DELAY_MS = 50;
      private static final long ENOUGH_MS = 10000;
      private static final long NOT_ENOUGH_MS = 5;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

     * time limit expires for a given method call, the thread running the call will be interrupted.
     *
     * @author Kevin Bourrillion
     * @author Jens Nyman
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class SimpleTimeLimiter implements TimeLimiter {
    
      private final ExecutorService executor;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 27 14:21:11 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

    import java.util.concurrent.TimeoutException;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Imposes a time limit on method calls.
     *
     * @author Kevin Bourrillion
     * @author Jens Nyman
     * @since 1.0
     */
    @DoNotMock("Use FakeTimeLimiter")
    @J2ktIncompatible
    @GwtIncompatible
    @SuppressWarnings("GoodTime") // should have java.time.Duration overloads
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Suppliers.java

    /**
     * Useful suppliers.
     *
     * <p>All methods return serializable suppliers as long as they're given serializable parameters.
     *
     * @author Laurence Gonsalves
     * @author Harry Heymann
     * @since 2.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Suppliers {
      private Suppliers() {}
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/SuppliersTest.java

    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests com.google.common.base.Suppliers.
     *
     * @author Laurence Gonsalves
     * @author Harry Heymann
     */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class SuppliersTest extends TestCase {
    
      static class CountingSupplier implements Supplier<Integer> {
        int calls = 0;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
Back to top