()
| 41 | */ |
| 42 | // Casting to any type is safe because the set will never hold any elements. |
| 43 | @SuppressWarnings("unchecked") |
| 44 | public static <K, V> ImmutableBiMap<K, V> of() { |
| 45 | return (ImmutableBiMap<K, V>) RegularImmutableBiMap.EMPTY; |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 | * Returns an immutable bimap containing a single entry. |