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

com.g2forge.alexandria.java.fluent.optional.IOptional Maven / Gradle / Ivy

There is a newer version: 0.0.18
Show newest version
package com.g2forge.alexandria.java.fluent.optional;

import java.util.function.Function;
import java.util.function.Predicate;

import com.g2forge.alexandria.java.fluent.IFluent1_;
import com.g2forge.alexandria.java.fluent.IFluent_0;
import com.g2forge.alexandria.java.fluent.IFluent_D;

public interface IOptional extends IFluent_D, IFluent_0, IFluent1_ {
	@Override
	public IOptional filter(Predicate predicate);

	public  IOptional flatMap(Function> mapper);

	@Override
	public  IOptional map(Function mapper);
}