jfunctional

The jfunctional package implements a set of functions and types for assisting with a functional style of programming in Java.

Features

  • OptionType for optional values.
  • Pair type for pairs of values.
  • FunctionType for total functions.
  • ProcedureType for total procedures (void-returning functions).
  • PartialFunctionType for partial functions.
  • PartialProcedureType for partial procedures (void-returning functions).
  • Full unit test coverage.
  • OSGi-ready.
  • ISC license.