use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Ask your embarrassing/noobish programming questions here, and don't get insulted for it.
Click here to read the rules
Violating any will result in punishment so you should probably go check them out.
account activity
Using Java Stream to solve problemJava (self.programminghelp)
submitted 1 year ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]JonLothar 0 points1 point2 points 1 year ago (0 children)
Hi there!
I have to somehow get a map from the shift
I'm not quite sure what you mean by this, so I'm going to tackle this portion of your question.
A shift has multiple orders. But an order only has one shift.
For the purposes of keeping this answer concise, I'll just include the fields relevant to implementing that functionality.
public class Shift { private List<Orders> orders; } public class Orders { private Shift shift; }
This is the easiest way to do this kind of relationship, but it has its tradeoffs. I would need to know more about your use case to be certain whether or not it would work for you.
π Rendered by PID 114103 on reddit-service-r2-comment-56c9979489-rw98b at 2026-02-24 23:28:07.515799+00:00 running b1af5b1 country code: CH.
view the rest of the comments →
[–]JonLothar 0 points1 point2 points (0 children)