All Questions
4 questions
3
votes
1
answer
104
views
Sequentially find the indexes of an element into a collection
Util class to find into a collection the indexes of a given element with multiple occurrences from the first index or relative to a given index.
...
1
vote
1
answer
315
views
Control class for an entity
For a Student object in the package entity, I have a control.studentpackage with classes ...
2
votes
2
answers
223
views
A trip down the single method interface rabbit hole
I responded to this question about designing around interdependant methods with the strategy pattern.
Afterwards I started thinking about the functional additions to java 8 and wondered if I was ...
-2
votes
1
answer
677
views
Decorator pattern using Java 8 [closed]
Wikipedia has an example of a decorator pattern here:
https://en.wikipedia.org/wiki/Decorator_pattern#Second_example_.28coffee_making_scenario.29
I was trying to solve this using functional style ...