title: Stream a list of n-integers from a file to create n object array
body: <p>Assume each T object can be instantiated as </p>
  
  <pre><code>T tobj = new T(//int value);
  </code></pre>
  
  <p>So to create an array of T[ ] from integers in a file seperated by space I do the following:</p>
  
  <pre><code> BufferedReader br;
   FileReader fr;
   int[] arr;
   try{               
          fr = new FileReader(fo); // assume "fo" file name
          br = new BufferedReader(fr);
          arr = Arrays.stream(br.readLine().split("\\s")).mapToInt(Integer::parseInt).toArray();
  
   }catch(SomeException e){//something else}
  
  T[] tobjarr = new T[arr.length];
      for(int i=0; i&lt;arr.length; ++i)){
          tobjarr[i] = new T(arr[i]);
      }
  </code></pre>
  
  <p>1.Is the above method efficient in terms of time and space usage?</p>
  
  <p>2.Is there any other way? if so how does it compare to above method?</p>