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