- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
java - Is there a cleaner way to write this polling loop? - Stack Overflow
You can do something like this
long t = System.currentMillis(); // actual time in milliseconds from Jan 1st 1970.
while (t > System.currentMillis() - 30000 ) {
...
#while #this #actual #from #long
https://stackoverflow.com/questions/13198083/is-there-a-cleaner-way-to-write-this-polling-loop https://stackoverflow.com/questions/13198083/is-there-a-cleaner-way-to-write-this-polling-loop
Видео java - Is there a cleaner way to write this polling loop? - Stack Overflow канала ResponseXAI
long t = System.currentMillis(); // actual time in milliseconds from Jan 1st 1970.
while (t > System.currentMillis() - 30000 ) {
...
#while #this #actual #from #long
https://stackoverflow.com/questions/13198083/is-there-a-cleaner-way-to-write-this-polling-loop https://stackoverflow.com/questions/13198083/is-there-a-cleaner-way-to-write-this-polling-loop
Видео java - Is there a cleaner way to write this polling loop? - Stack Overflow канала ResponseXAI
Комментарии отсутствуют
Информация о видео
19 июля 2025 г. 15:50:12
00:00:30
Другие видео канала
