2022-08-28から1日間の記事一覧
それでも、これしかないという時の為に、、、 public static Consumer<Integer> sleepSecApprox(long precision){ return t->{ LocalDateTime tc = LocalDateTime.now().plusSeconds(t); while(tc.compareTo(LocalDateTime.now()) > 0){ try{ Thread.sleep(precision)</integer>…