Timeline for Re-using this piece of code for different objects
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 5, 2015 at 13:13 | comment | added | Evan Bechtol | Efficient and clean! +1 | |
May 4, 2015 at 21:42 | vote | accept | Moody | ||
May 4, 2015 at 21:42 | comment | added | Moody | Based on your idea, I managed to do it differently (see update above). But you gave me the idea, so therefore, thank you & also thanks for your time! +1 | |
May 4, 2015 at 20:15 | comment | added | Moody | Actually, based on your idea, I might have something! I'll get back asap! | |
May 4, 2015 at 19:53 | comment | added | Moody | Thank you for your comment! I think the problem with this approach is that I have to have List<Address> inside the UserProfile class, since my database (or more specifically db abstraction) which is MongoDB does otherwise not see it as an embedded collection. I'm very sorry for not mentioning that. However, I am still seeing whether I can fit your code. | |
May 4, 2015 at 19:41 | history | answered | Greg Burghardt | CC BY-SA 3.0 |