Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,314 for collectionOf (0.07 sec)

  1. 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)
  2. guava/src/com/google/common/collect/LinkedListMultimap.java

     *
     * <p>The collections returned by {@link #keySet()} and {@link #asMap} iterate through the keys in
     * the order they were first added to the multimap. Similarly, {@link #get}, {@link #removeAll}, and
     * {@link #replaceValues} return collections that iterate through the values in the order they were
     * added. The collections generated by {@link #entries()}, {@link #keys()}, and {@link #values}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/DocMap.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    public class DocMap implements Map<String, Object> {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/Helpers.java

    import static com.google.common.collect.testing.Helpers.entryComparator;
    import static java.lang.Math.max;
    import static java.util.Arrays.asList;
    import static java.util.Collections.singletonMap;
    import static java.util.Collections.sort;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.assertFalse;
    import static junit.framework.Assert.assertTrue;
    import static junit.framework.Assert.fail;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Multiset.java

    import java.util.Collection;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Set;
    import java.util.Spliterator;
    import java.util.function.Consumer;
    import java.util.function.ObjIntConsumer;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

      }
    
      private static <E> ImmutableList<E> copyFromCollection(Collection<? extends E> collection) {
        Object[] elements = collection.toArray();
        switch (elements.length) {
          case 0:
            return of();
          case 1:
            @SuppressWarnings("unchecked") // safe because it came from `collection`
            E element = (E) elements[0];
            return of(element);
          default:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_ANY_NULL_QUERIES;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.emptySet;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  8. android/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)
  9. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

                    return super.add(element);
                  }
    
                  @Override
                  public boolean addAll(Collection<? extends Integer> collection) {
                    return standardAddAll(collection);
                  }
                };
              }
            };
    
        Map<Color, Collection<Integer>> map = Maps.newEnumMap(Color.class);
        Multimap<Color, Integer> multimap = Multimaps.newMultimap(map, factory);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableListTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.nCopies;
    import static java.util.Collections.singletonList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top