Skip to content
Dmitri Priimak edited this page Sep 27, 2020 · 9 revisions

Functional pebbles is a set of classes intended to facilitate programming functional style in Java. Many of the classes copy functionality from similarly named classes in Scala, others are static functions that mimic built-in Scala functionality. Unlike in vavr they behave exactly as they do in Scala. They are:

  1. Try (aka Error) monad.
  2. Tuple pair of values holding class.
  3. TryFunction function X->Try<Y> with methods map(...) and flatMap(...) for composition.
  4. Collectionz additional utilities for collections.

Clone this wiki locally