Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,633 for Final (0.17 sec)

  1. android/guava-tests/test/com/google/common/math/StatsTesting.java

      static final Stats ONE_VALUE_STATS = Stats.of(ONE_VALUE);
      static final Stats OTHER_ONE_VALUE_STATS = Stats.of(OTHER_ONE_VALUE);
      static final Stats TWO_VALUES_STATS = Stats.of(TWO_VALUES);
      static final Stats OTHER_TWO_VALUES_STATS = Stats.of(OTHER_TWO_VALUES);
      static final Stats MANY_VALUES_STATS_VARARGS = Stats.of(1.1, -44.44, 33.33, 555.555, -2.2);
      static final Stats MANY_VALUES_STATS_ITERABLE = Stats.of(MANY_VALUES);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractService.java

            }
          };
      private static final ListenerCallQueue.Event<Listener> STOPPING_FROM_STARTING_EVENT =
          stoppingEvent(STARTING);
      private static final ListenerCallQueue.Event<Listener> STOPPING_FROM_RUNNING_EVENT =
          stoppingEvent(RUNNING);
    
      private static final ListenerCallQueue.Event<Listener> TERMINATED_FROM_NEW_EVENT =
          terminatedEvent(NEW);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

     *
     * @author Colin Decker
     */
    public class DispatcherTest extends TestCase {
    
      private final EventBus bus = new EventBus();
    
      private final IntegerSubscriber i1 = new IntegerSubscriber("i1");
      private final IntegerSubscriber i2 = new IntegerSubscriber("i2");
      private final IntegerSubscriber i3 = new IntegerSubscriber("i3");
      private final ImmutableList<Subscriber> integerSubscribers =
          ImmutableList.of(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 27 15:41:25 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

         */
        @SuppressWarnings("GoodTime") // should accept a java.time.Duration
        public static Scheduler newFixedDelaySchedule(
            final long initialDelay, final long delay, final TimeUnit unit) {
          checkNotNull(unit);
          checkArgument(delay > 0, "delay must be > 0, found %s", delay);
          return new Scheduler() {
            @Override
            public Cancellable schedule(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

     *
     * @author Anthony Zana
     */
    public class UninterruptiblesTest extends TestCase {
      private static final String EXPECTED_TAKE = "expectedTake";
    
      /** Timeout to use when we don't expect the timeout to expire. */
      private static final long LONG_DELAY_MS = 2500;
    
      private static final long SLEEP_SLACK = 2;
    
      private final TearDownStack tearDownStack = new TearDownStack();
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 31.7K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * found in any textbook.
       */
    
      /** Monitor guarding all access */
      final Monitor monitor;
    
      /** Guard for waiting takes */
      private final Monitor.Guard notEmpty;
    
      /** Guard for waiting puts */
      private final Monitor.Guard notFull;
    
      // Internal helper methods
    
      /** Circularly increment i. */
      final int inc(int i) {
        return (++i == items.length) ? 0 : i;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/CharMatcher.java

       */
      public static CharMatcher inRange(final char startInclusive, final char endInclusive) {
        return new InRange(startInclusive, endInclusive);
      }
    
      /**
       * Returns a matcher with identical behavior to the given {@link Character}-based predicate, but
       * which operates on primitive {@code char} instances instead.
       */
      public static CharMatcher forPredicate(final Predicate<? super Character> predicate) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

     *
     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    final class InterruptionUtil {
      private static final Logger logger = Logger.getLogger(InterruptionUtil.class.getName());
    
      /** Runnable which will interrupt the target thread repeatedly when run. */
      private static final class Interruptenator implements Runnable {
        private final long everyMillis;
        private final Thread interruptee;
        private volatile boolean shouldStop = false;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (1)
  9. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

              @Override
              public Runnable apply(final Runnable runnable) {
                return new ForwardingRunnable(runnable);
              }
            });
      }
    
      public void testToStringForwarding() {
        tester.testForwarding(
            Runnable.class,
            new Function<Runnable, Runnable>() {
              @Override
              public Runnable apply(final Runnable runnable) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

      // with the correct parameters.
      private static final int INITIAL_DELAY = 10;
      private static final int DELAY = 20;
      private static final TimeUnit UNIT = MILLISECONDS;
    
      // Unique runnable object used for comparison.
      final Runnable testRunnable =
          new Runnable() {
            @Override
            public void run() {}
          };
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
Back to top