/** * Get a list of the names of all products in the database * * @return A string array of the product names */ public static ArrayList<String> getProductNames(String type) { return itemDatabase.getNamesOfEntries(type); }