Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3011 - 3020 of 4,422 for 1Final (0.13 seconds)

  1. android/guava/src/com/google/common/primitives/Floats.java

          return Collections.emptyList();
        }
        return new FloatArrayAsList(backingArray);
      }
    
      private static final class FloatArrayAsList extends AbstractList<Float>
          implements RandomAccess, Serializable {
        final float[] array;
        final int start;
        final int end;
    
        FloatArrayAsList(float[] array) {
          this(array, 0, array.length);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class UninterruptibleFutureTest extends TestCase {
      private SleepingRunnable sleeper;
      private Future<Boolean> delayedFuture;
    
      private final TearDownStack tearDownStack = new TearDownStack();
    
      @Override
      protected void setUp() {
        ExecutorService executor = newSingleThreadExecutor();
        tearDownStack.addTearDown(executor::shutdownNow);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

     * @author Louis Wasserman
     */
    @GwtCompatible
    @SuppressWarnings({"serial", "rawtypes"})
    final class RegularImmutableSortedSet<E> extends ImmutableSortedSet<E> {
      static final RegularImmutableSortedSet<Comparable> NATURAL_EMPTY_SET =
          new RegularImmutableSortedSet<>(ImmutableList.of(), Ordering.natural());
    
      @VisibleForTesting final transient ImmutableList<E> elements;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ChangelogEntry.java

            }
        }
    
        private static String generatedAnchor(String input) {
            final List<String> excludes = List.of("the", "is", "a");
    
            final String[] words = input.toLowerCase(Locale.ROOT)
                .replaceAll("[^\\w]+", "_")
                .replaceFirst("^_+", "")
                .replaceFirst("_+$", "")
                .split("_+");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 9.3K bytes
    - Click Count (0)
  5. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

      // NotApplicableException in the expensive comparator case.
      @Param({"100", "10000"})
      private int size;
    
      @Param private HeapType heap;
    
      private Queue<Integer> queue;
    
      private final Random random = new Random();
    
      @BeforeExperiment
      void setUp() {
        queue = heap.create(comparator.get());
        for (int i = 0; i < size; i++) {
          queue.add(random.nextInt());
        }
      }
    
      @Benchmark
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  6. guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

      // NotApplicableException in the expensive comparator case.
      @Param({"100", "10000"})
      private int size;
    
      @Param private HeapType heap;
    
      private Queue<Integer> queue;
    
      private final Random random = new Random();
    
      @BeforeExperiment
      void setUp() {
        queue = heap.create(comparator.get());
        for (int i = 0; i < size; i++) {
          queue.add(random.nextInt());
        }
      }
    
      @Benchmark
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java

                    // warm up
                    test(listener, session, resource, 0);
    
                    for (int i = 1; i < size; i++) {
                        final int bytes = i;
    
                        service.execute(() -> {
                            test(listener, session, resource, bytes);
                        });
                    }
    
                    // start all threads at once
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * implementation type is an implementation detail.
       */
      @J2ktIncompatible // serialization
      private static final class SerializedForm<E> implements Serializable {
        final Comparator<? super E> comparator;
        final Object[] elements;
    
        SerializedForm(Comparator<? super E> comparator, Object[] elements) {
          this.comparator = comparator;
          this.elements = elements;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 36.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(new MapMaker());
      }
    
      @GwtIncompatible // threads
      static final class DelayingIdentityLoader<T> implements Function<T, T> {
        private final CountDownLatch delayLatch;
    
        DelayingIdentityLoader(CountDownLatch delayLatch) {
          this.delayLatch = delayLatch;
        }
    
        @CanIgnoreReturnValue // Sure, why not?
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/UnmodifiableSortedMultiset.java

    import java.util.SortedSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link Multisets#unmodifiableSortedMultiset(SortedMultiset)} for GWT.
     *
     * @author Louis Wasserman
     */
    final class UnmodifiableSortedMultiset<E extends @Nullable Object> extends UnmodifiableMultiset<E>
        implements SortedMultiset<E> {
      UnmodifiableSortedMultiset(SortedMultiset<E> delegate) {
        super(delegate);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 3.2K bytes
    - Click Count (0)
Back to Top