code: public static FeatureCollection fromFeatures(@NonNull Feature[] features,
                                                 @Nullable BoundingBox bbox) {
      return new FeatureCollection(TYPE, bbox, Arrays.asList(features));
    }
docs: Create a new instance of this class by giving the feature collection an array of
  {@link Feature}s. The array of features itself isn't null but it can be empty and have a length
  of 0.
  
  @param features an array of features
  @param bbox     optionally include a bbox definition as a double array
  @return a new instance of this class defined by the values passed inside this static factory
  method
  @since 3.0.0