title: JAVA: ImmutableSet as List
body: <p>I currently get returned an ImmutableSet from a function call (getFeatures()) and due to the structure of the rest of my code to be executed later on- it would be much easier to change this to a List. I have tried to cast it which produces a runtime exception. I have also looked around for a function call to convert it to a list to no avail. Is there a way to do this? My most recent [failed] attempt is shown below:</p>
  
  <pre><code>ImmutableSet&lt;FeatureWrapper&gt; wrappersSet =  getFeatures();
  List&lt;FeatureWrapper&gt; wrappers = (List&lt;FeatureWrapper&gt;) wrappersSet;
  </code></pre>
  
  <p>I have found wrapperSet.asList() which will give me an ImmutableList however i would much rather prefer a mutable list</p>