简体   繁体   中英

Functional programming interfaces in Java

Where can I look for a list of Java standard libraries for functional design patterns? I've heard java.util package contain all of data structures, but I can't find the equivalents of functional interfaces in it:

Monoid -> Appendable

Monad -> Flattenable

Functor -> Mapable

Applicative -> Sequencable

Arrow -> Stateful

Lens -> Damnable

There are also Foldable, Traversable , Parser , Pipe and so on.

Try this open source project: https://github.com/functionaljava/functionaljava

"Other Abstractions - monoid, semigroup, natural, random number generator, reader, writer, state, input/output, parser, zipper, specification based testing (quickcheck), actors, optics (lens, prism, fold, traversal and others), concurrency and type conversion."

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM