Update GenericMethods.java