Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for toImmutableBiMap (0.1 sec)

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

        implements BiMap<K, V> {
      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);
      }
    
      // Casting to any type is safe because the set will never hold any elements.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. 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)
  5. 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