Package com.swoval.functional
Provides functional interfaces/classes from scala and/or jdk
>
1.8.-
Interface Summary Interface Description Consumer<T> Represents an operation that takes an input and returns no result.Filter<T> Generic Filter functional interface. -
Class Summary Class Description Either<L,R> Represents a value that can be one of two types.Either.Left<L,R> A left projectedEither
.Either.Right<L,R> A right projectedEither
.Filters Provides a generic AllPass filter. -
Exception Summary Exception Description Either.NotLeftException An error that is thrown if an attempt is made to project an Either toEither.Left
when the object is actually an instance ofEither.Right
.Either.NotRightException An error that is thrown if an attempt is made to project an Either toEither.Right
when the object is actually an instance ofEither.Left
.