Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 812 for Final (0.17 sec)

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

    @ElementTypesAreNonnullByDefault
    final class GraphConstants {
    
      private GraphConstants() {}
    
      static final int EXPECTED_DEGREE = 2;
    
      static final int DEFAULT_NODE_COUNT = 10;
      static final int DEFAULT_EDGE_COUNT = DEFAULT_NODE_COUNT * EXPECTED_DEGREE;
    
      // Load factor and capacity for "inner" (i.e. per node/edge element) hash sets or maps
      static final float INNER_LOAD_FACTOR = 1.0f;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/MediaType.java

      private static final String APPLICATION_TYPE = "application";
      private static final String AUDIO_TYPE = "audio";
      private static final String IMAGE_TYPE = "image";
      private static final String TEXT_TYPE = "text";
      private static final String VIDEO_TYPE = "video";
      private static final String FONT_TYPE = "font";
    
      private static final String WILDCARD = "*";
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 07 16:17:10 UTC 2023
    - 46.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Invokable.java

       * {@code final} keyword. For example, it could be private, or it could be declared by a final
       * class. To tell whether a method is overridable, use {@link Invokable#isOverridable}.
       */
      public final boolean isFinal() {
        return Modifier.isFinal(getModifiers());
      }
    
      /** Returns true if the method is abstract. */
      public final boolean isAbstract() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/DenseImmutableTable.java

    @GwtCompatible
    @Immutable(containerOf = {"R", "C", "V"})
    @ElementTypesAreNonnullByDefault
    final class DenseImmutableTable<R, C, V> extends RegularImmutableTable<R, C, V> {
      private final ImmutableMap<R, Integer> rowKeyToIndex;
      private final ImmutableMap<C, Integer> columnKeyToIndex;
      private final ImmutableMap<R, ImmutableMap<C, V>> rowMap;
      private final ImmutableMap<C, ImmutableMap<R, V>> columnMap;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 10K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        assertEquals(2, numCalls.get());
    
        assertTrue(Thread.interrupted());
      }
    
      public void testDelegateRejection() {
        final AtomicInteger numCalls = new AtomicInteger();
        final AtomicBoolean reject = new AtomicBoolean(true);
        final SequentialExecutor executor =
            new SequentialExecutor(
                new Executor() {
                  @Override
                  public void execute(Runnable r) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

    @ElementTypesAreNonnullByDefault
    public abstract class AbstractExecutionThreadService implements Service {
      private static final LazyLogger logger = new LazyLogger(AbstractExecutionThreadService.class);
    
      /* use AbstractService for state management */
      private final Service delegate =
          new AbstractService() {
            @Override
            protected final void doStart() {
              Executor executor = MoreExecutors.renamingDecorator(executor(), () -> serviceName());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        }
        final int size = 50;
        final CyclicBarrier barrier =
            new CyclicBarrier(
                2 // for the setter threads
                    + size // for the listeners
                    + size // for the get threads,
                    + 1); // for the main thread
        final ExecutorService executor = Executors.newFixedThreadPool(barrier.getParties());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  8. 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();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 16:06:39 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

      }
    
      public static class SortedSetSubsetTestSetGenerator<E extends @Nullable Object>
          implements TestSortedSetGenerator<E> {
        final Bound to;
        final Bound from;
        final E firstInclusive;
        final E lastInclusive;
        private final Comparator<? super E> comparator;
        private final TestSortedSetGenerator<E> delegate;
    
        public SortedSetSubsetTestSetGenerator(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  10. 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) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top