Searched refs:integerSet (Results 1 – 3 of 3) sorted by relevance
31 StringBuilder integerSet = new StringBuilder(); in saveIntegerSetToPrefs() local33 integerSet.append(item).append(","); in saveIntegerSetToPrefs()36 editor.putString(prefKey, integerSet.toString()).apply(); in saveIntegerSetToPrefs()48 String[] integerSet = integerSetString.split(","); in getIntegerSetFromPrefs() local49 for (String item : integerSet) { in getIntegerSetFromPrefs()
152 public static String serializeIntegerSet(@Nullable Set<Integer> integerSet) { in serializeIntegerSet() argument153 if (integerSet == null) { in serializeIntegerSet()157 JSONArray jsonSet = new JSONArray(integerSet); in serializeIntegerSet()
246 private static JSONArray getJsonArrayFromIntegerSet(Set<Integer> integerSet) { in getJsonArrayFromIntegerSet() argument248 for (Integer i : integerSet) { in getJsonArrayFromIntegerSet()