title: ArrayDeque to array
body: <p>I have built an arraydeque and want to pass those Double values as an array to a constructor. The constructor is built to process the array values individually to a certain condition. </p>
  
  <p>When using arraydeque its not allowing me to retrieve those double values (Iterater .next for loop) and store them in an array. </p>
  
  <p>Are there any suggestions to correct this? </p>