Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 570 for IsList (0.05 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.ImmutableBiMap;
    import java.util.LinkedHashMap;
    import java.util.Map;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/SingletonImmutableSet.java

     * @author Nick Kralevich
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class SingletonImmutableSet<E> extends ImmutableSet<E> {
      // We deliberately avoid caching the asList and hashCode here, to ensure that with
      // compressed oops, a SingletonImmutableSet packs all the way down to the optimal 16 bytes.
    
      final transient E element;
    
      SingletonImmutableSet(E element) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.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.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.MinimalCollection;
    import com.google.common.collect.testing.features.CollectionFeature;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ProjectDependencyGraphStub.java

            return dependencies;
        }
    
        @Override
        public List<MavenProject> getAllProjects() {
            return Arrays.asList(A, B, C, X, Y, Z, UNKNOWN);
        }
    
        @Override
        public List<MavenProject> getSortedProjects() {
            return Arrays.asList(A, B, C, X, Y, Z); // I'm not entirely sure about the order but this should do...
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/math/DoubleMathTest.java

      }
    
      @GwtIncompatible // DoubleMath.log2(double, RoundingMode)
      public void testRoundLog2Half() {
        // We don't expect perfect rounding accuracy.
        for (int exp : asList(-1022, -50, -1, 0, 1, 2, 3, 4, 100, 1022, 1023)) {
          for (RoundingMode mode : asList(HALF_EVEN, HALF_UP, HALF_DOWN)) {
            double x = Math.scalb(Math.sqrt(2) + 0.001, exp);
            double y = Math.scalb(Math.sqrt(2) - 0.001, exp);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 30 14:15:36 GMT 2025
    - 27.3K bytes
    - Click Count (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

          ImmutableCollection<E> list = (ImmutableCollection<E>) elements;
          return list.asList();
        }
        return copyFromCollection(elements);
      }
    
      @JsMethod
      public static <E> ImmutableList<E> copyOf(E[] elements) {
        checkNotNull(elements); // eager for GWT
        return copyOf(Arrays.asList(elements));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

    import static com.google.common.collect.Multisets.sum;
    import static com.google.common.collect.Multisets.union;
    import static com.google.common.collect.Multisets.unmodifiableMultiset;
    import static java.util.Arrays.asList;
    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Predicate;
    import com.google.common.base.Predicates;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       */
      protected final void expectAdded(E... elements) {
        List<E> expected = copyToList(getSampleElements());
        expected.addAll(asList(elements));
        expectContents(expected);
      }
    
      protected final void expectAdded(int index, E... elements) {
        expectAdded(index, asList(elements));
      }
    
      protected final void expectAdded(int index, Collection<E> elements) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  9. android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java

     */
    
    package com.google.common.testing;
    
    import static com.google.common.collect.Iterables.getOnlyElement;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 01 13:14:50 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionRequest.java

            this.servers = new ArrayList<>(Arrays.asList(server));
        }
    
        /**
         * Creates a new request to decrypt the specified proxy.
         *
         * @param proxy The proxy to decrypt, must not be {@code null}.
         */
        public DefaultSettingsDecryptionRequest(Proxy proxy) {
            this.proxies = new ArrayList<>(Arrays.asList(proxy));
        }
    
        @Override
        public List<Server> getServers() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
Back to Top