changed compliance to jre 1.7
added argument example
added java doc comment