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

javax0.jamal.tools.param.ListParameter Maven / Gradle / Ivy

There is a newer version: 2.8.1
Show newest version
package javax0.jamal.tools.param;

import javax0.jamal.api.BadSyntax;
import javax0.jamal.tools.Params;

import java.util.List;
import java.util.stream.Stream;

public class ListParameter extends AbstractTypedParameter> {

    public ListParameter(Params.Param> param) {
        super(param);
    }

    public ListParameter optional() {
        return this;
    }

    public List get() throws BadSyntax {
        return param.get();
    }

    public Stream stream() throws BadSyntax {
        return get().stream();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy