Returns a MemoryKey by a NamespacedKey. @param namespacedKey the NamespacedKey referencing a MemoryKey @return the MemoryKey or null when no MemoryKey is available under that key
(@NotNull NamespacedKey namespacedKey)
| 69 | * available under that key |
| 70 | */ |
| 71 | @Nullable |
| 72 | public static MemoryKey getByKey(@NotNull NamespacedKey namespacedKey) { |
| 73 | return MEMORY_KEYS.get(namespacedKey); |
| 74 | } |
| 75 | |
| 76 | /** |
| 77 | * Returns the set of all MemoryKeys. |