代码来源:org.mongodb/mongodb-driver-coreLocalJobRunner.computeProgress()public double computeProgress() { if (progress.length == 0) { return (double)1; } long result = 0; for (AtomicInteger pct : progress) { result += pct.longValue(); } return (double)result / progress.length / 100...
publicstaticbooleanoperator_greaterThan(AtomicIntegerleft,longright){ returnleft.longValue()>right; } 代码示例来源:origin: io.sarl.lang/io.sarl.lang.core /** The binary {@code greaterEqualsThan} operator. This is the equivalent * to the Java {@code >=} operator. This function is not null-...