Please enable JavaScript.
Coggle requires JavaScript to display documents.
JAVA (Date & Time (Instant (a point of time in nanosecond, immutable,…
JAVA
Date & Time
Instant
a point of time in nanosecond, immutable, the moment of object creation, precision: nanoseconds
-
-
Period
we can take two LocalDate object and measure period between them (its like Duration but in days not nanoseconds)
-
-
-
-
-
immutable objects
obiekty których stan nie może zostać zmieniony po utworzeniu:
final class
private final fields
no setters
Java 8
lambda expression
-
functional interface
-
-
java.util.function
-
-
Consumer/ BiConsumer
void get (T t) / void get(T t, U u)
Predicate/ BiPredicate
boolean get(T t) / boolean get(T t, U u)
Function/ BiFunction
R get(T t) /R get(T t, U u)
-
-
-
-
-
-
-