Created
July 24, 2012 13:04
-
-
Save odrotbohm/3169830 to your computer and use it in GitHub Desktop.
Java bean properties riddle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Entity { | |
Number id; | |
Long getId() { | |
return // transform into Long; | |
} | |
public void setId(Object object) { | |
this.id = // transform into Number | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment