
Java → Java Array Programs
Java → Vk api на java. Как сделать кнопки
Вот код:
public class Bot {
public static void main(String[] args) throws ClientException, ApiException, InterruptedException {
TransportClient transportClient = new HttpTransportClient();
VkApiClient vk = new VkApiClient(transportClient);
Random random = new Random()…

Qt → Взаимодействие различных dll библиотек С++, C#, java
Добрый день.
Почему работая на С++, нельзя полноценно использовать dll , написанных на C#, java?
И почему используя другие языки, можно использовать dll , написанных на C++?

Android → A little about memory leaks and ways to avoid them
Java → Отправка Email из Java окружения в Qt
android, c++, Java, Qt, activity
Как выяснилось в этом обсуждении:
Отправка Email из Android в Qt
для отправки Email в Android необходимо делать Java-метод, который и будет отправлять email. И этот Java-метод надо дергать из C++ окружения.
Начал я его делать (за основу можно взять пример взаимодействи…

Java → Several ways to synchronize processes and threads in Java

Java → Example - Object Pool in Java
Java, пул, шаблоны проектирования
Example of the design pattern An object pool in the Java programming language.
// ObjectPool Class public abstract class ObjectPool<T> { private long expirationTime; private Hashtable<T, Long> locked, unlocked; public ObjectPool() { expirationTime = 30000; // 30 seconds locked = …

Java → Example - Factory Method in Java
шаблоны проектирования, factory, method, Java, JAVA
In class-based programming, the factory method pattern is a creational pattern that uses factory methods to deal with the problem of creating objects without having to specify the exact class of the object that will be created. This is done …

Java → Example - "Builder" design pattern in Java
Java, шаблоны проектирования, Builder
Example of "Builder" design pattern in Java
/* "Product" */ class Pizza { private String dough = ""; private String sauce = ""; private String topping = ""; public void setDough(String dough) { this.dough = dough; } public void setSauce(String …

Java → Example - Abstract Factory in Java
Abstract Factory classes are often implemented with Factory Methods, but they can also be implemented using Prototype. Abstract Factory might store a set of Prototypes from which to clone and return product objects.
- Factory Method: creation through inheritance.
- Prototype: creation …
Fornex
Let me recommend you a great European Fornex hosting.
Fornex has proven itself to be a stable host over the years.
For Django projects I recommend VPS hosting
Following the link you will receive a 5% discount on shared hosting services, dedicated servers, VPS and VPN
View Hosting