Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.

All Questions

Filter by
Sorted by
Tagged with
3 votes
1 answer
109 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. ...
user avatar
1 vote
1 answer
323 views

Control class for an entity

For a Student object in the package entity, I have a control.studentpackage with classes ...
the duck wizard's user avatar
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 ...
candied_orange's user avatar
-2 votes
1 answer
683 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 ...
Ajay Iyengar's user avatar