All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.sixpack.client.ItemSetter Maven / Gradle / Ivy

The newest version!
package dev.sixpack.client;

import dev.sixpack.api.data.Dataset;

public class ItemSetter {
    private final Dataset dataset;

    public ItemSetter(Dataset dataset) {
        this.dataset = dataset;
    }

    /**
     * Sets the item of the dataset.
     *
     * @param item The item of the dataset.
     * @return The next builder in the chain.
     */
    public InputBuilder item(String item) {
        dataset.setItem(item);
        return new InputBuilder(dataset);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy