Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 1,298 for Collections (0.05 sec)

  1. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            System.out.printf("  Avg tree operation time: %.2f ns%n", avgOpTimeNs);
    
            // Verify thread safety and performance
            assertTrue(exceptions.isEmpty(), "No exceptions should occur with thread-safe collections: " + exceptions);
            assertEquals(threadCount * operationsPerThread, treeOperations.get());
            assertTrue(avgOpTimeNs < 100000, "Tree operations should be reasonable with CopyOnWriteArrayList");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/JoinerTest.java

     */
    
    package com.google.common.base;
    
    import static com.google.common.base.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.Lists.newArrayList;
    import static java.util.Collections.unmodifiableList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.time.Instant;
    import java.time.LocalDateTime;
    import java.time.ZoneId;
    import java.util.ArrayList;
    import java.util.Calendar;
    import java.util.Collections;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Map.Entry;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Joiner.java

              /*
               * We first initialized toJoin to the size of the input collection. However, that size can
               * go out of date (for a collection like CopyOnWriteArrayList, which may have been safely
               * modified concurrently), or it might have been only an estimate to begin with (for a
               * collection like ConcurrentHashMap, which sums up several counters that may not be in
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              // All collections are immutable empty. So safe for any type parameter.
              .put(Iterator.class, ImmutableSet.of().iterator())
              .put(PeekingIterator.class, peekingIterator(ImmutableSet.of().iterator()))
              .put(ListIterator.class, ImmutableList.of().listIterator())
              .put(Iterable.class, ImmutableSet.of())
              .put(Collection.class, ImmutableList.of())
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

        }
    
        /**
         * Returns {@literal true} if the given {@link Collection} is {@literal null} or empty.
         *
         * @param collection the collection
         * @return {@literal true} if the collection is {@literal null} or empty
         */
        public static boolean isEmpty(final Collection<?> collection) {
            return collection == null || collection.isEmpty();
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

     * not correctly obey its specification.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     * @since 2.0 (implements {@code NavigableMap} since 12.0)
     */
    @GwtCompatible
    public final class ImmutableSortedMap<K, V> extends ImmutableMap<K, V>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 52.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TopKSelector.java

    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static java.lang.Math.max;
    import static java.util.Arrays.asList;
    import static java.util.Arrays.sort;
    import static java.util.Collections.unmodifiableList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.math.IntMath;
    import java.math.RoundingMode;
    import java.util.Arrays;
    import java.util.Comparator;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ArrayTable.java

      }
    
      /**
       * Returns an unmodifiable collection of all values, which may contain duplicates. Changes to the
       * table will update the returned collection.
       *
       * <p>The returned collection's iterator traverses the values of the first row key, the values of
       * the second row key, and so on.
       *
       * @return collection of values
       */
      @Override
      public Collection<@Nullable V> values() {
        return super.values();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

    import static com.google.common.collect.Maps.transformValues;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static java.nio.charset.StandardCharsets.UTF_8;
    import static java.util.Collections.sort;
    
    import com.google.common.base.Function;
    import com.google.common.base.Predicate;
    import com.google.common.collect.Maps.EntryTransformer;
    import com.google.common.collect.testing.MapTestSuiteBuilder;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.4K bytes
    - Viewed (0)
Back to top