Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 218 for creation (0.15 sec)

  1. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

                        return (Map) builder.build();
                      }
                    })
                .named("ImmutableTypeToInstanceMap")
                .withFeatures(
                    MapFeature.REJECTS_DUPLICATES_AT_CREATION,
                    MapFeature.RESTRICTS_KEYS,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionSize.ANY,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES)
                .createTestSuite());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

                .named("ImmutableRangeSet.asSet[DiscreteDomain.integers[]]")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.REJECTS_DUPLICATES_AT_CREATION,
                    CollectionFeature.ALLOWS_NULL_QUERIES,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.NON_STANDARD_TOSTRING,
                    CollectionFeature.SERIALIZABLE)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.lang.reflect.Method;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests creation (typically through a constructor or static factory
     * method) of a collection. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SynchronizedBiMapTest.java

                    MapFeature.ALLOWS_NULL_VALUES,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES,
                    MapFeature.GENERAL_PURPOSE,
                    MapFeature.REJECTS_DUPLICATES_AT_CREATION)
                .createTestSuite());
        suite.addTest(
            BiMapTestSuiteBuilder.using(new SynchronizedHashBiMapGenerator())
                .named("synchronizedBiMap[HashBiMap]")
                .withFeatures(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/hash/MessageDigestCreationBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.security.MessageDigest;
    
    /**
     * Benchmarks for comparing instance creation of {@link MessageDigest}s.
     *
     * @author Kurt Alfred Kluever
     */
    public class MessageDigestCreationBenchmark {
    
      @Param({"MD5", "SHA-1", "SHA-256", "SHA-384", "SHA-512"})
      private String algorithm;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.6K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableSet.java

      // GWT compiler to infer the elements of the lists that needs to be
      // serialized.
      //
      // Although this reference is non-final, it doesn't change after set creation.
      E element;
    
      SingletonImmutableSet(E element) {
        this.element = checkNotNull(element);
      }
    
      @Override
      public int size() {
        return 1;
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SortedIterable.java

    import java.util.Iterator;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An {@code Iterable} whose elements are sorted relative to a {@code Comparator}, typically
     * provided at creation time.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    interface SortedIterable<T extends @Nullable Object> extends Iterable<T> {
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 29 02:13:00 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       * will be created by invoking #newThread(Runnable) on this backing {@link ThreadFactory}.
       *
       * @param backingThreadFactory the backing {@link ThreadFactory} which will be delegated to during
       *     thread creation.
       * @return this for the builder pattern
       * @see MoreExecutors
       */
      @CanIgnoreReturnValue
      public ThreadFactoryBuilder setThreadFactory(ThreadFactory backingThreadFactory) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 10 21:56:03 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

     *
     * @author Jared Levy
     * @author Louis Wasserman
     * @since 2.0 (implements {@code NavigableSet} since 12.0)
     */
    // TODO(benyu): benchmark and optimize all creation paths, which are a mess now
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/PercentEscaper.java

       * @throws IllegalArgumentException if any of the parameters were invalid
       */
      public PercentEscaper(String safeChars, boolean plusForSpace) {
        // TODO(dbeaumont): Switch to static factory methods for creation now that class is final.
        // TODO(dbeaumont): Support escapers where alphanumeric chars are not safe.
        checkNotNull(safeChars); // eager for GWT.
        // Avoid any misunderstandings about the behavior of this escaper
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.7K bytes
    - Viewed (0)
Back to top