Gets the value for the key, or null if it's not present.
(Key<T> key)
| 61 | * Gets the value for the key, or {@code null} if it's not present. |
| 62 | */ |
| 63 | @SuppressWarnings("unchecked") |
| 64 | @Nullable |
| 65 | public <T> T get(Key<T> key) { |
| 66 | return (T) data.get(key); |
| 67 | } |
| 68 | |
| 69 | /** |
| 70 | * Returns set of keys stored in container. |