title: MongoDB Java Driver 3.4+ Cursor to Array
body: <p>the question is very simple and clear. I don't want to use a cursor since it dramatically increases my operation time, I want to fetch all my documents at once and cache them through method execution.</p>
  
  <pre><code>        MongoClient mongoClient = new MongoClient( "HOST" );
          MongoDatabase db = mongoClient.getDatabase( "DB" );
          MongoCollection&lt;Document&gt; collection = db.getCollection( "COLLECTION" );
          FindIterable&lt;Document&gt; iterable = externalobjects.find( new Document( "test", "123" ) );
  </code></pre>
  
  <p>So, I want to convert above <code>iterable</code> into a list, how can I use find and convert cursor to array ?</p>