Sorry, im not familiar with generics, i can create a generic class like the following:
public class InfoField <T, U> {
}
The class above can accept values like:
<String, User>
<String, String>
<Set<UserGroup>, User>
But can i have class that accept map object as value? something like
<Map<String, String>, String>
public class InfoFieldMap <Map<T,U>, K> {
}