code: public final CharSequence[] getSelectedEntries() {
          List<Integer> indices = indicesOf(values);
          Collections.sort(indices);
  
          if (!indices.isEmpty()) {
              CharSequence[] selectedEntries = new CharSequence[indices.size()];
              int currentIndex = 0;
  
              for (int index : indices) {
                  selectedEntries[currentIndex] = getEntries()[index];
                  currentIndex++;
              }
  
              return selectedEntries;
          }
  
          return null;
      }
docs: Returns the entries, the currently persisted values of the preference belong to.
  
  @return An array, which contains the entries, the currently persisted values of the
  preference belong to, as an array of the type {@link CharSequence}