Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,740 for collection (0.07 sec)

  1. guava/src/com/google/common/primitives/Chars.java

       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
       */
      public static char[] toArray(Collection<Character> collection) {
        if (collection instanceof CharArrayAsList) {
          return ((CharArrayAsList) collection).toCharArray();
        }
    
        Object[] boxedArray = collection.toArray();
        int len = boxedArray.length;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/OneSizeTestContainerGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.Collection;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * The subject-generator interface accepted by Collection testers, for testing a Collection at one
     * particular {@link CollectionSize}.
     *
     * <p>This interface should not be implemented outside this package; {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Multisets.java

      static boolean removeAllImpl(Multiset<?> self, Collection<?> elementsToRemove) {
        Collection<?> collection =
            (elementsToRemove instanceof Multiset)
                ? ((Multiset<?>) elementsToRemove).elementSet()
                : elementsToRemove;
    
        return self.elementSet().removeAll(collection);
      }
    
      /** An implementation of {@link Multiset#retainAll}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. common-protos/k8s.io/api/rbac/v1/generated.proto

    }
    
    // ClusterRoleBindingList is a collection of ClusterRoleBindings
    message ClusterRoleBindingList {
      // Standard object's metadata.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    
      // Items is a list of ClusterRoleBindings
      repeated ClusterRoleBinding items = 2;
    }
    
    // ClusterRoleList is a collection of ClusterRoles
    message ClusterRoleList {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       * collection. If the specified collection is a {@link SortedSet} or a {@link PriorityQueue}, this
       * priority queue will be ordered according to the same ordering. Otherwise, this priority queue
       * will be ordered according to the {@linkplain Comparable natural ordering} of its elements.
       *
       * @param c the collection whose elements are to be placed into this priority queue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. android/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: Fri Oct 25 18:05:56 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multisets.java

      static boolean removeAllImpl(Multiset<?> self, Collection<?> elementsToRemove) {
        Collection<?> collection =
            (elementsToRemove instanceof Multiset)
                ? ((Multiset<?>) elementsToRemove).elementSet()
                : elementsToRemove;
    
        return self.elementSet().removeAll(collection);
      }
    
      /** An implementation of {@link Multiset#retainAll}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
Back to top