-
MY PROJECTS
-
Recent Posts
- SQL.How can you compare two nullable values safely, and how does IS DISTINCT FROM differ from <>?
- SQL.How are NULL values ordered by ORDER BY, how do defaults differ between databases, and how can you control their placement?
- SQL.How does NULL propagate through arithmetic expressions, and how can COALESCE and NULLIF help handle missing values and division by zero?
- SQL.How does NULL affect join conditions, and why can filtering the right-hand table in WHERE remove unmatched rows from a LEFT JOIN?
- SQL.How do GROUP BY and DISTINCT treat NULL values, even though NULL = NULL evaluates to UNKNOWN?
- SQL.How do aggregate functions handle NULL, and what is the difference between COUNT(*), COUNT(column), and COUNT(DISTINCT column)?
- SQL.How does NULL affect IN and NOT IN, and why can NOT EXISTS be a safer choice when a subquery returns nullable values?
- SQL.How do WHERE, HAVING, and CHECK constraints treat conditions that evaluate to UNKNOWN?
- SQL.Why do column = NULL and column <> NULL not work as expected, and when should you use IS NULL and IS NOT NULL?
- SQL.What is SQL’s three-valued logic (TRUE, FALSE, UNKNOWN), and how do AND, OR, and NOT behave with UNKNOWN?
- ChromeDevTools.Watch all failed requests
- SQL.What are domain types (or constraints on data types), and how do they help enforce data correctness?
- SQL.How does SQL handle comparisons between different data types (for example, string vs number), and why is this dangerous?
- SQL.What is the difference between DATE, TIME, TIMESTAMP, and TIMESTAMPTZ, and which one should be used for business events?
- SQL.How do numeric types like INTEGER, BIGINT, DECIMAL, and FLOAT differ in terms of precision and use cases?
- SQL.What problems can arise from implicit type casting in SQL, and how can it affect indexes?
- SQL.How does NULL differ from 0, an empty string, or FALSE in SQL?
- SQL.What is the difference between CHAR, VARCHAR, and TEXT, and when would you choose each?
- SQL.What is MVCC ?
- SQL.What is AutoVacuum Postgres ?
Categories
- Aptana
- Azure
- C#
- DataSnap
- DBExpress
- Delphi
- Delphi и сети
- Delphi. Язык программирования
- ExtJS
- FastReport
- FireDAC
- FireMonkey
- GIT
- ICS
- IDE
- IIS
- Indy
- InnoSetup
- javascript
- jQuery
- JSON
- LiveBindings
- MSHTML
- MySQL
- PHP
- REST
- Ribbons
- SMS
- SQL инструкции
- SVN
- TRichView
- UniGui
- WebBroker
- WinAPI
- Windows
- Алгоритмы
- Без рубрики
- Деревья
- Ищу ответ
- Компонентостроение
- Мои компоненты
- Начальный уровень
- Обработка исключений
- Парсинг
- Потоки(Threads)
- Регулярные выражения
- Тестирование приложений
Author Archives: Stanislav_Panteleev
Java.Java8.What are the functional interfaces Function, DoubleFunction, IntFunction, and LongFunction?
Let’s break down Function<T, R> and DoubleFunction<R> — they’re both part of the java.util.function package and are used to represent functions as objects in Java.
Posted in Без рубрики
Comments Off on Java.Java8.What are the functional interfaces Function, DoubleFunction, IntFunction, and LongFunction?
Java.Java8.What are functional interfaces?
Let’s dive in: ✅ What is a Functional Interface? A functional interface is an interface that has exactly one abstract method (but can have default or static methods too). It’s the backbone of lambda expressions and method references in Java.
Posted in Без рубрики
Comments Off on Java.Java8.What are functional interfaces?
Java.Java8.Explain the System.out::println expression.
The expression System.out::println is a method reference, and specifically it’s: 🔹 Type: Reference to an instance method of a particular object (Type #2) Let’s break it down:
Posted in Без рубрики
Comments Off on Java.Java8.Explain the System.out::println expression.
Java.Java8.What types of method references do you know?
In Java, method references are a shorthand syntax for calling methods via lambda expressions. There are four main types of method references: ✅ 1. Reference to a static method Syntax: ClassName::staticMethodName Example:
Posted in Без рубрики
Comments Off on Java.Java8.What types of method references do you know?
Java.Java8.What is a method reference?
🔎 What is a Method Reference? A method reference is a compact, readable way to refer to an existing method by name rather than writing a full lambda. It’s basically a lambda that just calls an existing method.
Posted in Без рубрики
Comments Off on Java.Java8.What is a method reference?
Java.Java8.How can I sort a list of strings using a lambda expression?
✅ Basic Example – Sort Strings Alphabetically Java’s List.sort() method expects a Comparator, and the lambda provides the comparator logic inline.
Posted in Без рубрики
Comments Off on Java.Java8.How can I sort a list of strings using a lambda expression?
Java.Java8.What variables can lambda expressions access?
Lambdas can access variables from three main places:
Posted in Без рубрики
Comments Off on Java.Java8.What variables can lambda expressions access?
Java.Java8.What is a lambda? What is the structure and usage features of a lambda expression?
Let’s break down what a lambda expression is in Java, its structure, and its usage features. 🔹 What is a Lambda Expression? A lambda expression is a concise way to represent an anonymous function (a function without a name) that … Continue reading
Posted in Без рубрики
Comments Off on Java.Java8.What is a lambda? What is the structure and usage features of a lambda expression?
Java.Java8.What are the new features in Java 8 and JDK 8?
🔹 1. Lambda Expressions Lambda expressions enable you to treat functionality as a method argument or pass code as data. They simplify the development of APIs that rely on passing behavior.
Posted in Без рубрики
Comments Off on Java.Java8.What are the new features in Java 8 and JDK 8?
Java.Collections.Make a HashMap from a HashSet>.
✅ If the HashSet comes from an existing Map.entrySet(): But more generally, if you already have a Set<Map.Entry<K, V>> (like a HashSet), here’s the clear and compatible way:
Posted in Без рубрики
Comments Off on Java.Collections.Make a HashMap from a HashSet>.