private List<EndpointDefinition> convertEndpoints(final List<SrvRecord> results) {
        return results.stream().map(this::convertSrvRecordToEndpointDefinition
        ).collect(Collectors.<EndpointDefinition>toList());
    }
private List<EndpointDefinition> convertEndpoints(final List<SrvRecord> results) {
        return results.stream().map(this::convertSrvRecordToEndpointDefinition
        ).collect(Collectors.<EndpointDefinition>toList());
    }
private List < EndpointDefinition > convertEndpoints ( final List < SrvRecord > results ) { return results . stream ( ) . map ( this :: convertSrvRecordToEndpointDefinition ) . collect ( Collectors . < EndpointDefinition > toList ( ) ) ; }
Converts list of SrvRecord(s) to list of EndpointDefinition(s).

@param results of SrvRecord to convert to EndpointDefinition(s)
@return list of EndpointDefinition
Converts list of SrvRecord ( s ) to list of EndpointDefinition ( s ) .