Marked select methods in java and ruby code as private
Merge pull request #2 from MartyNeal/master

Fixes STR-942