
in.ashwanthkumar.utils.lang.option.None Maven / Gradle / Ivy
package in.ashwanthkumar.utils.lang.option;
public class None extends Option {
public None() {
super(null);
}
@Override
public T get() throws IllegalStateException {
throw new IllegalStateException("get on None");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy