a-foundation/src/main/java/com/ajjpj/afoundation/collection/immutable/AOption.java
public static <T> AOption<T> fromNullable(T nullable) {
        return nullable != null ? some(nullable) : AOption.<T>none();
    }
public static <T> AOption<T> fromNullable(T nullable) {
        return nullable != null ? some(nullable) : AOption.<T>none();
    }
This is a convenience method that creates an AOption based on Java conventions.

@return 'none()' if the parameter is null, 'some(nullable)' otherwise