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

com.iwillfailyou.StaticfreeSettings Maven / Gradle / Ivy

There is a newer version: 0.5.0
Show newest version
package com.iwillfailyou;

import java.util.Arrays;
import java.util.List;

public final class StaticfreeSettings {
    private final List threshold;

    public StaticfreeSettings() {
        this(
            Arrays.asList(0)
        );
    }

    public StaticfreeSettings(
        final List threshold
    ) {
        this.threshold = threshold;
    }

    public int getThreshold() {
        return threshold.get(0);
    }

    public int setThreshold(final int threshold) {
        return this.threshold.set(0, threshold);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy