java notes on "generic methods" (ie. methods with type params)