Returns the empty map. This map behaves and performs comparably to {@link Collections#emptyMap}, and is preferable mainly for consistency and maintainability of your code. <p><b>Performance note:</b> the instance returned is a singleton.
()
| 121 | * <p><b>Performance note:</b> the instance returned is a singleton. |
| 122 | */ |
| 123 | @SuppressWarnings(class="st">"unchecked") |
| 124 | public static <K, V> ImmutableMap<K, V> of() { |
| 125 | return (ImmutableMap<K, V>) RegularImmutableMap.EMPTY; |
| 126 | } |
| 127 | |
| 128 | /** |
| 129 | * Returns an immutable map containing a single entry. This map behaves and performs comparably to |
no test coverage detected