Where do you use constraints and generics?
How likely would you use constraints on collections?
e.g. Collection<@Email String>
not likely
very likely
How likely would you use constraints on Optional<?>?
e.g. Optional<@Email String> getUserEmail(...);
not likely
very likely
If you're using Java FX, how likely would you use constraints on Java FX properties?
e.g. @Min(0) IntegerProperty age; or Property<@Min(0) Integer> age;
not likely
very likely
How likely would you use constraints on third-party library generic types?
e.g. Guava Multimap, javatuples Pair
not likely
very likely
What third-party library and which classes of these libs would you use constraints on?
e.g. Guava Multimap, javatuples Pair ; if you like, provide an example of the usage you envision.
Your answer
Do you have custom parameterized classes in your codebase you would use constraints on?
e.g. a class Tree<T> { ... } and Tree<@Min(5) Integer> weight;
not likely
very likely
Can you give examples of such custom parameterized classes ?
Seeing a full implementation would help us see how your class is structured and how it would be navigated. You can copy it here or in a GitHub gist or pastebin of sort.
Your answer
In which alternative language are you planning to use Bean Validation if any?
What kind of stuff do you develop?
Anything else you want to tell us on the subject?
Your answer
Email for followup if you're cool with it
If we have follow up questions, would you be fine to answer them by email? If yes, please drop your email. We won't spam nor use it beyond that specific feedback.
Your answer
Submit
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Additional Terms