Nicolai Parlog 5/26/2015

Transforming Collections

Read Original

This technical article explains the concept of transforming collections in the LibFX library. It details how to create views of collections (e.g., Set, Map) that appear to contain a different element type by applying on-demand transformations, acting as stateless decorators. The post covers the nomenclature, provides a code example converting a Set<String> to a Set<Integer>, and discusses use cases and technical implementation details.

Transforming Collections

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week