Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 97 for sold (0.12 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

      ImmutableList() {}
    
      public static <E> Collector<E, ?, ImmutableList<E>> toImmutableList() {
        return CollectCollectors.toImmutableList();
      }
    
      // Casting to any type is safe because the list will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <E> ImmutableList<E> of() {
        return (ImmutableList<E>) RegularImmutableList.EMPTY;
      }
    
      public static <E> ImmutableList<E> of(E element) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 11K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

          Map<? extends K, ? extends V> map) {
        return new HashMap<>(map);
      }
    
      /**
       * Creates a {@code HashMap} instance, with a high enough "initial capacity" that it <i>should</i>
       * hold {@code expectedSize} elements without growth. This behavior cannot be broadly guaranteed,
       * but it is observed to be true for OpenJDK 1.7. It also can't be guaranteed that the method
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

          return copyOf((Collection<Long>) values);
        }
        return builder().addAll(values).build();
      }
    
      /**
       * Returns a new, empty builder for {@link ImmutableLongArray} instances, sized to hold up to
       * {@code initialCapacity} values without resizing. The returned builder is not thread-safe.
       *
       * <p><b>Performance note:</b> When feasible, {@code initialCapacity} should be the exact number
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

      }
    
      /**
       * Returns the empty multimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting is safe because the multimap will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableListMultimap<K, V> of() {
        return (ImmutableListMultimap<K, V>) EmptyImmutableListMultimap.INSTANCE;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSet.java

      /**
       * Returns an array size suitable for the backing array of a hash table that uses open addressing
       * with linear probing in its implementation. The returned size is the smallest power of two that
       * can hold setSize elements with the desired load factor. Always returns at least setSize + 2.
       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        setSize = Math.max(setSize, 2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Ascii.java

       * 'a'/'A' returns 0 and 'z'/'Z' returns 25. Non-alpha characters return a value of 26 or greater.
       */
      private static int getAlphaIndex(char c) {
        // Fold upper-case ASCII to lower-case and make zero-indexed and unsigned (by casting to char).
        return (char) ((c | CASE_MASK) - 'a');
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Tables.java

       * weak, or phantom references.
       *
       * @param backingMap place to store the mapping from each row key to its corresponding column key
       *     / value map
       * @param factory supplier of new, empty maps that will each hold all column key / value mappings
       *     for a given row key
       * @throws IllegalArgumentException if {@code backingMap} is not empty
       * @since 10.0
       */
      public static <R, C, V> Table<R, C, V> newCustomTable(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 22:45:41 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ArrayTable.java

     * it requires that the complete universe of rows and columns be specified at construction time.
     * Second, it is always backed by an array large enough to hold a value for every possible
     * combination of row and column keys. (This is rarely optimal unless the table is extremely dense.)
     * Finally, every possible combination of row and column keys is always considered to have a value
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableList.java

       * code.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting to any type is safe because the list will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <E> ImmutableList<E> of() {
        return (ImmutableList<E>) EMPTY;
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ArrayListMultimap.java

          ArrayListMultimap<K, V> create() {
        return new ArrayListMultimap<>();
      }
    
      /**
       * Constructs an empty {@code ArrayListMultimap} with enough capacity to hold the specified
       * numbers of keys and values without resizing.
       *
       * <p>This method will soon be deprecated in favor of {@code
       * MultimapBuilder.hashKeys(expectedKeys).arrayListValues(expectedValuesPerKey).build()}.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
Back to top