title: How handle data from sharedpreferences getStringSet?
body: <p>I had put the Set into sharedpreferences:</p>
  
  <pre><code>Set&lt;String&gt; bodyClick = new HashSet&lt;String&gt;();
  String panelMarked = new Boolean(panel.marked).toString();
  
  String[] click = {panel.name,panelMarked,clickTimes};
  
  String clickBody = Arrays.toString(click);
  
  bodyClick.add(clickBody);
  
  sharedEditor.putStringSet("click", bodyClick);
  </code></pre>
  
  <p>and this is how I get it:</p>
  
  <pre><code>Set&lt;String&gt; click = preferences.getStringSet("click", new HashSet&lt;String&gt;());
  
  if(click != null){
  
      Iterator&lt;String&gt; iterator = click.iterator();
  
      while(iterator.hasNext()){
          String id = iterator.next();
      }   
  }
  </code></pre>
  
  <p>For example this is in the string: [Left rear fender, false, 0]</p>
  
  <p>So far all is okay and working.</p>
  
  <p>But now I want get each element for his own. How can I get "Left rear fener" in a String, "false" in a string and "0" in a string?</p>
  
  <p>Can anybody post some code?</p>