Java tutorial
//package com.java2s; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class Main { private static List<String> prefsClean = new ArrayList<String>(); public static void addPref(String... keys) { Collections.addAll(prefsClean, keys); } }