for(int i = roadVehicles.length; i > 0; i--) { if (roadVehicles[i-1] != null) { roadVehicles[i] = roadVehicles[i-1]; }}roadVehicles[0] = car;
欢迎分享,转载请注明来源:内存溢出
for(int i = roadVehicles.length; i > 0; i--) { if (roadVehicles[i-1] != null) { roadVehicles[i] = roadVehicles[i-1]; }}roadVehicles[0] = car;
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)