我正在使用 Java 8,我尝试使用“Collectors.groupingBy”,但没有获得所需的格式
public class ConsigneeLoadDetails {
private Integer tripID;
private String consignor;
private String consignee;
private String city;
private Double distanceToNext;
private Double load;
private Integer cap;
private Integer vehicleCapacity;
private Double cLoad;
private Integer truckUtilisation;
private Double latitude;
private Double longitude;
// getter , setter of all parameters
}
List<ConsigneeLoadDetails> listConsigneeLoadDetails = new ArrayList();
// loop to add ConsigneeLoadDetails
listConsigneeLoadDetails.add(consigneeLoadDetails);
我在 API 响应中低于 Json
我想要以下格式的回复
Qyouu
30秒到达战场
相关分类