Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,314 for collectionOf (0.09 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    
    import org.apache.maven.api.ArtifactCoordinates;
    import org.apache.maven.api.Dependency;
    import org.apache.maven.api.Exclusion;
    import org.apache.maven.api.Session;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Floats.java

       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
       * @since 1.0 (parameter was {@code Collection<Float>} before 12.0)
       */
      public static float[] toArray(Collection<? extends Number> collection) {
        if (collection instanceof FloatArrayAsList) {
          return ((FloatArrayAsList) collection).toFloatArray();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Doubles.java

       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
       * @since 1.0 (parameter was {@code Collection<Double>} before 12.0)
       */
      public static double[] toArray(Collection<? extends Number> collection) {
        if (collection instanceof DoubleArrayAsList) {
          return ((DoubleArrayAsList) collection).toDoubleArray();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Floats.java

       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
       * @since 1.0 (parameter was {@code Collection<Float>} before 12.0)
       */
      public static float[] toArray(Collection<? extends Number> collection) {
        if (collection instanceof FloatArrayAsList) {
          return ((FloatArrayAsList) collection).toFloatArray();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java

    import com.google.common.collect.testing.SampleElements.Unhashables;
    import java.util.Collection;
    import java.util.List;
    
    /**
     * Creates collections containing unhashable sample elements, to be tested.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestUnhashableCollectionGenerator<T extends Collection<UnhashableObject>>
        implements TestCollectionGenerator<UnhashableObject> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestCollectionGenerator.java

    import java.util.Collection;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates collections, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestCollectionGenerator<E extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

            () -> {
              Iterator<E> iterator = collection.iterator();
              assertTrue(collection.add(e3()));
              iterator.next();
            });
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAdd_nullSupported()} so that tests of
       * {@link java.util.Collections#checkedCollection(java.util.Collection, Class)} can suppress it
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

            () -> {
              Iterator<E> iterator = collection.iterator();
              assertTrue(collection.add(e3()));
              iterator.next();
            });
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAdd_nullSupported()} so that tests of
       * {@link java.util.Collections#checkedCollection(java.util.Collection, Class)} can suppress it
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkState;
    import static java.util.Collections.synchronizedSet;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.base.Equivalence;
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.LinkedHashSet;
    import java.util.Map;
    import java.util.Queue;
    import java.util.Random;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multiset.java

    import com.google.errorprone.annotations.CompatibleWith;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A collection that supports order-independent equality, like {@link Set}, but may have duplicate
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
Back to top