示例#1
0
 public static Builder fromDatacenter(Datacenter in) {
   return Datacenter.builder()
       .id(in.getId())
       .name(in.getName())
       .longName(in.getLongName())
       .locationAddress(in.getLocationAddress());
 }
示例#2
0
 @Override
 public int compareTo(Datacenter arg0) {
   return new Long(id).compareTo(arg0.getId());
 }