
in.ashwanthkumar.utils.lang.option.Some Maven / Gradle / Ivy
package in.ashwanthkumar.utils.lang.option;
public class Some extends Option {
public Some(T value) {
super(value);
}
@Override
public T get() throws IllegalStateException {
return data;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy