I want to create a list view that consists of the concatenation of a number of other lists. Example: What kind of technique and or pattern can I use in Java to fulfill these requirements? Details I want the concatenation to be lazy. (That’s the meaning of “view” in this context.) I want change to the component lists the reflect
Tag: lazy-evaluation
implementing a lazy Supplier in java
What is the right paradigm or utility class (can’t seem to find a preexisting class) to implement a lazy supplier in Java? I want to have something that handles the compute-once/cache-later behavior and allows me to specify the computation behavior independently. I know this probably has an error but it has the right semantics: Answer This is already implemented in