Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 881 - 890 of 2,147 for collector (0.09 seconds)

  1. android/guava-tests/test/com/google/common/collect/MoreCollectorsTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.MoreCollectors.onlyElement;
    import static com.google.common.collect.MoreCollectors.toOptional;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.truth.Truth.assertThat;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu May 15 21:47:56 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/primitives/Booleans.java

       * @return an array containing the same values as {@code collection}, in the same order, converted
       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
       */
      public static boolean[] toArray(Collection<Boolean> collection) {
        if (collection instanceof BooleanArrayAsList) {
          return ((BooleanArrayAsList) collection).toBooleanArray();
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 15:01:23 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/primitives/Booleans.java

       * @return an array containing the same values as {@code collection}, in the same order, converted
       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
       */
      public static boolean[] toArray(Collection<Boolean> collection) {
        if (collection instanceof BooleanArrayAsList) {
          return ((BooleanArrayAsList) collection).toBooleanArray();
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 15:01:23 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

         * @return The converted map.
         */
        protected Map<String, Object> toLowerHyphen(final Map<String, Object> source) {
            return source.entrySet()
                    .stream()
                    .collect(Collectors.toMap(e -> CaseFormat.UPPER_CAMEL.to(CaseFormat.LOWER_UNDERSCORE, e.getKey()), e -> {
                        final Object value = e.getValue();
                        if (value instanceof Map) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java

     * the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionFeature.NON_STANDARD_TOSTRING;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/Shorts.java

       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
       * @since 1.0 (parameter was {@code Collection<Short>} before 12.0)
       */
      public static short[] toArray(Collection<? extends Number> collection) {
        if (collection instanceof ShortArrayAsList) {
          return ((ShortArrayAsList) collection).toShortArray();
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/primitives/Shorts.java

       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
       * @since 1.0 (parameter was {@code Collection<Short>} before 12.0)
       */
      public static short[] toArray(Collection<? extends Number> collection) {
        if (collection instanceof ShortArrayAsList) {
          return ((ShortArrayAsList) collection).toShortArray();
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java

    import com.google.common.collect.testing.AbstractMapTester;
    import com.google.common.collect.testing.Helpers;
    import com.google.common.collect.testing.SampleElements;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.ArrayList;
    import java.util.List;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 4.5K bytes
    - Click Count (0)
Back to Top