// 
// Decompiled by Procyon v0.6.0
// 

package io.sentry;

import io.sentry.util.Objects;
import org.jetbrains.annotations.Nullable;
import java.util.HashMap;
import org.jetbrains.annotations.NotNull;
import java.util.Map;

public final class CustomSamplingContext
{
    @NotNull
    private final Map<String, Object> data;
    
    public CustomSamplingContext() {
        this.data = new HashMap<String, Object>();
    }
    
    public void set(@NotNull final String key, @Nullable final Object value) {
        Objects.requireNonNull(key, "key is required");
        this.data.put(key, value);
    }
    
    @Nullable
    public Object get(@NotNull final String key) {
        Objects.requireNonNull(key, "key is required");
        return this.data.get(key);
    }
    
    @NotNull
    public Map<String, Object> getData() {
        return this.data;
    }
}
