Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 1,314 for Collections (0.17 sec)

  1. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

     * the License.
     */
    
    package com.google.common.escape;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.Collections.max;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.VisibleForTesting;
    import java.util.Map;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

        return getList().size() / 2;
      }
    
      /**
       * Returns the {@link java.lang.reflect.Method} instance for {@link #testSet_null()} so that tests
       * of {@link java.util.Collections#checkedCollection(java.util.Collection, Class)} can suppress it
       * with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6409434">Sun bug 6409434</a> is fixed.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/BytesTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.testing.Helpers;
    import com.google.common.testing.NullPointerTester;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link Bytes}.
     *
     * @author Kevin Bourrillion
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

    import java.nio.charset.Charset;
    import java.nio.file.FileSystem;
    import java.nio.file.FileSystems;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Map.Entry;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Hashing.java

    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.primitives.Ints;
    import javax.annotation.CheckForNull;
    
    /**
     * Static methods for implementing hash-based collections.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     * @author Austin Appleby
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class Hashing {
      private Hashing() {}
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactHashing.java

      /** Maximum size of a compact hash-based collection (2^30 - 1 because 0 is UNSET). */
      static final int MAX_SIZE = Ints.MAX_POWER_OF_TWO - 1;
    
      /** Default size of a compact hash-based collection. */
      static final int DEFAULT_SIZE = 3;
    
      /**
       * Minimum size of the hash table of a compact hash-based collection. Because small hash tables
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.ArrayList;
    import java.util.LinkedList;
    
    /**
     * Tests the speed of iteration of different iteration methods for collections.
     *
     * @author David Richter
     */
    public class IteratorBenchmark {
      @Param({"0", "1", "16", "256", "4096", "65536"})
      int size;
    
      // use concrete classes to remove any possible polymorphic overhead?
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static java.util.Collections.nCopies;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

    import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_ADD_WITH_INDEX;
    import static com.google.common.collect.testing.testers.ReflectionFreeAssertThrows.assertThrows;
    import static java.util.Collections.singletonList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.MinimalCollection;
    import com.google.common.collect.testing.features.CollectionFeature;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

            return false;
          }
    
          @Override
          public boolean removeAll(Collection<?> collection) {
            return removeAllKeys(unfiltered, predicate, collection);
          }
    
          @Override
          public boolean retainAll(Collection<?> collection) {
            return retainAllKeys(unfiltered, predicate, collection);
          }
    
          @Override
          public @Nullable Object[] toArray() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
Back to top