added java file.
added map method.
Merge branch 'br1'