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

jdplus.toolkit.desktop.plugin.ui.properties.l2fprod.UserVariables Maven / Gradle / Ivy

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jdplus.toolkit.desktop.plugin.ui.properties.l2fprod;

/**
 *
 * @author Jean Palate
 */
public class UserVariables {
        private final String[] vars;

    public UserVariables(String... name) {
        if (name != null) {
            this.vars = name;
        }
        else {
            this.vars = new String[0];
        }
    }

    public String[] getNames() {
        return vars;
    }

    @Override
    public String toString() {
        return (vars == null || vars.length == 0) ? "Unused" : vars.length + " vars";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy