Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for toImmutableBiMap (0.09 sec)

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

      public static <T extends @Nullable Object, K, V>
          Collector<T, ?, ImmutableBiMap<K, V>> toImmutableBiMap(
              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
        return CollectCollectors.toImmutableBiMap(keyFunction, valueFunction);
      }
    
      /**
       * Returns the empty bimap.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableBiMap.java

      }
    
      /**
       * Not supported. Use {@link #toImmutableBiMap} instead. This method exists only to hide {@link
       * ImmutableMap#toImmutableMap(Function, Function)} from consumers of {@code ImmutableBiMap}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link ImmutableBiMap#toImmutableBiMap}.
       */
      @Deprecated
      @DoNotCall("Use toImmutableBiMap")
      public static <T extends @Nullable Object, K, V>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.ImmutableBiMap.toImmutableBiMap;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.Sets.newHashSet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CollectCollectors.java

            ImmutableSortedMap::copyOfSorted);
      }
    
      static <T extends @Nullable Object, K, V> Collector<T, ?, ImmutableBiMap<K, V>> toImmutableBiMap(
          Function<? super T, ? extends K> keyFunction,
          Function<? super T, ? extends V> valueFunction) {
        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        return Collector.of(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top