@Beta
  public static <A, B> Converter<A, B> asConverter(final BiMap<A, B> bimap) {
    return new BiMapConverter<A, B>(bimap);
  }
@ Beta public static < A , B > Converter < A , B > asConverter ( final BiMap < A , B > bimap ) { return new BiMapConverter < A , B > ( bimap ) ; }
Returns a {@link Converter} that converts values using {@link BiMap#get bimap.get()},
and whose inverse view converts values using
{@link BiMap#inverse bimap.inverse()}{@code .get()}.

<p>To use a plain {@link Map} as a {@link Function}, see
{@link com.google_voltpatches.common.base.Functions#forMap(Map)} or
{@link com.google_voltpatches.common.base.Functions#forMap(Map, Object)}.

@since 16.0