Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 1,613 for collections (0.06 sec)

  1. guava/src/com/google/common/collect/ImmutableListMultimap.java

        return new Builder<K, V>().putAll(entries).build();
      }
    
      /** Creates an ImmutableListMultimap from an asMap.entrySet. */
      static <K, V> ImmutableListMultimap<K, V> fromMapEntries(
          Collection<? extends Map.Entry<? extends K, ? extends Collection<? extends V>>> mapEntries,
          @CheckForNull Comparator<? super V> valueComparator) {
        if (mapEntries.isEmpty()) {
          return of();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 20:20:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

    import static com.google.common.base.Preconditions.checkElementIndex;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.Maps.immutableEntry;
    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.SortedLists.KeyAbsentBehavior;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TopKSelector.java

    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static java.lang.Math.max;
    import static java.util.Arrays.asList;
    import static java.util.Arrays.sort;
    import static java.util.Collections.unmodifiableList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.math.IntMath;
    import java.math.RoundingMode;
    import java.util.Arrays;
    import java.util.Comparator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ArrayTable.java

      }
    
      /**
       * Returns an unmodifiable collection of all values, which may contain duplicates. Changes to the
       * table will update the returned collection.
       *
       * <p>The returned collection's iterator traverses the values of the first row key, the values of
       * the second row key, and so on.
       *
       * @return collection of values
       */
      @Override
      public Collection<@Nullable V> values() {
        return super.values();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

    import static java.lang.System.arraycopy;
    import static java.util.Arrays.asList;
    import static java.util.Collections.frequency;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.ListIterator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. .github/actions/people/app/main.py

    import logging
    import subprocess
    import sys
    from collections import Counter, defaultdict
    from datetime import datetime, timedelta, timezone
    from pathlib import Path
    from typing import Any, Container, DefaultDict, Dict, List, Set, Union
    
    import httpx
    import yaml
    from github import Github
    from pydantic import BaseModel, SecretStr
    from pydantic_settings import BaseSettings
    
    github_graphql_url = "https://api.github.com/graphql"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:13:50 UTC 2024
    - 19.2K bytes
    - Viewed (1)
  7. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

                // CharSequences
                .add("field1", "")
                .add("field2", new StringBuilder())
                // nio CharBuffer (implements CharSequence) is tested separately below
                // Collections and Maps
                .add("field11", Arrays.asList("Hello"))
                .add("field12", new ArrayList<>())
                .add("field13", new HashMap<>())
                // Optionals
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 21:19:18 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

    import java.net.InetAddress;
    import java.net.InetSocketAddress;
    import java.net.Socket;
    import java.net.SocketException;
    import java.security.MessageDigest;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.Locale;
    import java.util.Set;
    import java.util.concurrent.Semaphore;
    import java.util.concurrent.TimeUnit;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

        return new Builder<K, V>().putAll(entries).build();
      }
    
      /** Creates an ImmutableListMultimap from an asMap.entrySet. */
      static <K, V> ImmutableListMultimap<K, V> fromMapEntries(
          Collection<? extends Map.Entry<? extends K, ? extends Collection<? extends V>>> mapEntries,
          @CheckForNull Comparator<? super V> valueComparator) {
        if (mapEntries.isEmpty()) {
          return of();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Synchronized.java

      }
    
      private static <E extends @Nullable Object> Collection<E> typePreservingCollection(
          Collection<E> collection, @CheckForNull Object mutex) {
        if (collection instanceof SortedSet) {
          return sortedSet((SortedSet<E>) collection, mutex);
        }
        if (collection instanceof Set) {
          return set((Set<E>) collection, mutex);
        }
        if (collection instanceof List) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
Back to top