store some java snippets