1.

What Is The Purpose Of @key Annotation Annotation?

Answer»

This ANNOTATION SETS the KEY for type CONVERSION. The Key annotation must be applied at field or method level.

@Key( value = java.lang.Long.class )

private Map<Long, USER> userMap;

This annotation sets the Key for type conversion. The Key annotation must be applied at field or method level.

@Key( value = java.lang.Long.class )

private Map<Long, User> userMap;



Discussion

No Comment Found