com.iodesystems.fn.data.Option Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fn Show documentation
Show all versions of fn Show documentation
Fn is a lazy Java Library that helps utilize some rudimentary functional concepts with more nounular
objects
package com.iodesystems.fn.data;
import com.iodesystems.fn.aspects.Iterables;
import com.iodesystems.fn.logic.Where;
import java.util.Iterator;
import java.util.NoSuchElementException;
@SuppressWarnings("SameReturnValue")
public abstract class Option implements Iterable {
@SuppressWarnings("StaticInitializerReferencesSubClass")
private static final Empty> EMPTY = new Empty<>();
private static final Where