Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for uniqueIndex (0.11 sec)

  1. android/guava/src/com/google/common/collect/Maps.java

      @CanIgnoreReturnValue
      public static <K, V> ImmutableMap<K, V> uniqueIndex(
          Iterable<V> values, Function<? super V, K> keyFunction) {
        if (values instanceof Collection) {
          return uniqueIndex(
              values.iterator(),
              keyFunction,
              ImmutableMap.builderWithExpectedSize(((Collection<?>) values).size()));
        }
        return uniqueIndex(values.iterator(), keyFunction);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Maps.java

      @CanIgnoreReturnValue
      public static <K, V> ImmutableMap<K, V> uniqueIndex(
          Iterable<V> values, Function<? super V, K> keyFunction) {
        if (values instanceof Collection) {
          return uniqueIndex(
              values.iterator(),
              keyFunction,
              ImmutableMap.builderWithExpectedSize(((Collection<?>) values).size()));
        }
        return uniqueIndex(values.iterator(), keyFunction);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top