@Override
    public void remove(@Nonnull T id) {
        MetadataMap map = this.cache.asMap().remove(id);
        if (map != null) {
            map.clear();
        }
    }
A basic implementation of {@link MetadataRegistry} using a LoadingCache.

@param <T> the type
helper/src/main/java/me/lucko/helper/metadata/AbstractMetadataRegistry.java