Закрыть
×
=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
Праздники ...
Праздники ...
Рождество (Католическое) 25 Декабря
Концерты, выставки ...
Концерты, выставки ...
Спектакль "Свадьба в Малиновке"|||г. Минск 16 сентября, 10 октября, 4 ноября, 22 декабря 2026
Афишу
Спорт занятия ...
Спорт занятия ...
Плавание в бассейне
Спорт занятие
Компьютер, программы...
Компьютер, программы...
Объявления ...
Объявления ...
Гидромоторы M+S Hydraulic серии HW
Объявление
Новости ...
Новости ...
Форум ...
Форум ...
обсуждение...
<<
Поиск >>
Поиск
Концерты
Спорт
Форум
Компьютер
Компьютер, программы
→
Java
Java (class, interface, collections, etc.)
Create a simple console app in IntelliJ IDEA to learn Java
class { ... } what it is
Access modifiers (private, protected, public) for a class and for methods and fields. | Java
Collections and Arrays
Collections in Java
interface List<E> in Java
class ArrayList<E> in Java
class Vector<E> in Java
class Stack<E> in Java
class CopyOnWriteArrayList<E> in Java
interface Queue<E> in Java
interface Deque<E> in Java
class LinkedList<E> in Java
interface Set in Java
class HashSet<E> in Java
class LinkedHashSet<E> in Java
interface Map in Java
class HashMap<K,V> in Java
class LinkedHashMap<K,V> in Java
Algorithms in the Collections class
Collections.singletonList("Hello") returns an immutable list containing exactly one specified element | Java collection
class Collections (all functions, algorithms) | 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 ?
You can add static functions to the interface | Java
In the interface, using default, we create an implementation of the | this appeared in Java 8
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 ссылки может добавлять только залогиненный пользователь)
+ картинку
Новость
"Черная пятница" Dreame в Беларуси – две недели скидок до 3400 рублей
Ваши вопросы присылайте по почте:
info@dir.by