Закрыть
×
=0) { let js = text.slice(pos1, pos2); + '<\/' + "script" + '>'; arrText.push(js); // next pos1 = pos2; continue; } } } break; } return arrText; } function OpenDialog(parentDiv, urlContent) { parentDiv = document.getElementById('modal-background'); // new !!!!!!! parentDiv.appendChild(document.getElementById('modal-template')); document.getElementById('modal-background').style.display = "flex"; // !!!!! block document.getElementById('modal-template').style.display = "flex"; // !!!!! document.getElementById('modal-body').innerHTML = ""; post_url(urlContent, "", function(text_from_server) { var element = document.getElementById('modal-body'); element.innerHTML = text_from_server; // add scripts var arrJSText = get_scripts(text_from_server); for (var i=0; i
dir.by
Праздники ...
Праздники ...
День Октябрьской революции (7 Ноября)
Концерты, выставки ...
Концерты, выставки ...
Спектакль "Дело о серийной любви"|||г. Гомель 19 сентября, 29 сентября 2026
Афишу
Спорт занятия ...
Спорт занятия ...
Катание на коньках
Спорт занятие
Компьютер, программы...
Компьютер, программы...
Объявления ...
Объявления ...
АКВАГРИМ, БЛЕСК ТАТУ, МЕХЕНДИ от COLORFACE
Объявление
Новости ...
Новости ...
Форум ...
Форум ...
обсуждение...
Поиск
Концерты
Спорт
Форум
Компьютер
Компьютер, программы
→
Java
Java (class, interface, collections, etc.)
Create a simple console app in IntelliJ IDEA to learn Java
Collections and Arrays
Collections in Java
class ArrayList<E> in Java
class Vector<E> in Java
class LinkedList<E> in Java
class HashSet<E> in Java
class LinkedHashSet<E> in Java
Algorithms in the Collections class
Collections.singletonList("Hello") returns an immutable list containing exactly one specified element | Java collection
Collections class (all functions) | Java
Algorithms in the Stream class
stream.filter(...) select elements according to your criterion | Java collection | Example: allCars.stream().filter(item -> item.Price < 30000).toList()
interface
What is interface in Java ?
Directly in the code (at runtime) we make an implementation for the interface | Java
Flows
Threads in Java
lambda, an unnamed method
lambda is an unnamed method (no name and no class owned) | Java
Exceptions
Exceptions and handling in Java. Example: try {...} catch (Exception e) {...}
Why use throws Exception in the function name in Java? Answer: The method throws an exception and there is no handling of try catch. Example: float CalculateDensity(float mass, float volume) throws Exception { ... throw new Exception("Error! Volume is zero."); ... }
Ваши Отзывы ... комментарии ...
Вашe имя
Ваш комментарий
(www ссылки может добавлять только залогиненный пользователь)
+ картинку
Объявления
Ваши вопросы присылайте по почте:
info@dir.by