question: the list of aggregation s. concode_field_sep Map<String,Aggregation> aggregationsAsMap concode_elem_sep InternalAggregations EMPTY concode_elem_sep List<InternalAggregation> aggregations concode_elem_sep String AGGREGATIONS concode_field_sep InternalAggregations reduce concode_elem_sep void writeTo concode_elem_sep Iterator<Aggregation> iterator concode_elem_sep InternalAggregations readAggregations concode_elem_sep Object getProperty concode_elem_sep Object getProperty concode_elem_sep void readFrom concode_elem_sep Map<String,Aggregation> asMap concode_elem_sep XContentBuilder toXContent concode_elem_sep A get concode_elem_sep XContentBuilder toXContentInternal concode_elem_sep InternalAggregations readOptionalAggregations concode_elem_sep Map<String,Aggregation> getAsMap
target: List < Aggregation > function ( ) { return aggregations . stream ( ) . map ( ( p ) -> ( Aggregation ) p ) . collect ( Collectors . toList ( ) ) ; }