zdania

 0    70 tarjetas    izabelaszyjka
descargar mp3 imprimir jugar test de práctica
 
término definición
synchronizacja pozwala tylko jednemu wątkowi na wykonywanie kodu w danym czasie
empezar lección
synchronization allows only one thread to execute code at a time
synchronized block, pozwala tylko jednemu wątkowi na pracę w danym momencie na danym bloku
empezar lección
synchronized block, allows only one thread to work on a given block at a time
martwa blokada dwa wątki czekają na siebie nawzajem przez co są zablokowane co powoduje przerwanie watku
empezar lección
dead lock two threads are waiting for each other and are therefore blocked, which causes the thread to be interrupted
kolejkiBlokujace struktura danych używana do bezpiecznej komunikacji i współpracy wątków
empezar lección
queuesA blocking data structure used for secure communication and thread collaboration
thread pools umożliwia ponowne wykorzystanie wątków w klasie ExecutorService
empezar lección
thread pools allows you to reuse threads in the ExecutorService class
integrowanie wątków to harmonizacja działań pomiędzy wątkami aby osiągnąć wspólny cel
empezar lección
thread integration is the harmonization of activities between threads to achieve a common goal
synchronizacja to współdzielenie zmienny
empezar lección
synchronization is sharing a variable
warunki wyścigowe to sytuacja gdy kilka wątków jednocześnie otrzymuje dostęp do kodu, przynajmniej jeden wątek wprowadza zmiany w danych co powoduje nieprzewidywalny wynik
empezar lección
Race conditions are situations when several threads access the code at the same time
metoda notify, notifyAll informuje pierwszy wątek że inne wątki spełniają warunki
empezar lección
The notify, notifyAll method informs the first thread that other threads meet the conditions
metoda wait oczekiwanie na warunki
empezar lección
wait method waiting for conditions
hashtable jest synchronizowany, bezpieczna w środowisku wielowątkowym
empezar lección
hashtable is synchronized, safe in a multi-threaded environment
Może mieć różne modyfikatory dostępu
empezar lección
It can have various Access modifiers
Java to język kompilowany czyli jego kod źródłowy jest tłumaczony na język maszynowy
empezar lección
Java is a compiled language, i.e. its source code is translated into machine language
Java to język programowania, uniwersalny, obiektowy prosty bezpieczny popularny
empezar lección
Java is a programming language, universal, object-oriented, simple, safe, and popular
optional to klasa do obsługi null
empezar lección
optional is a class to handle null
programowanie funkcyjne to lambda i streamy
empezar lección
functional programming is lambda and streams
interfejs może dziedziczyć inne interfejsy wtedy klasa go implementujaca musi implementować metody wszystkich
empezar lección
an interface can inherit other interfaces, then the class implementing it must implement the methods of all of them
interfejs ma też stałe metody
empezar lección
the interface also has constant methods
abstrakcyjne metody interfejsu, klasa która posiada interfejs musi implementować jego metody
empezar lección
abstract interface methods, a class that has an interface must implement its methods
interfejs to metoda abstrakcyjna która dostarcza metod do klas
empezar lección
An interface is an abstract method that provides methods to classes
klasy dziedziczące muszą dokonać implementacji wszystkich metod klasy dziedziczonej
empezar lección
inheriting classes must implement all the methods of the inherited class
metody abstrakcyjne to metody które nie posiadają cial
empezar lección
Abstract methods are methods that do not have bodies
metody abstrakcyjne to metody które nie posiadają cial
empezar lección
Abstract methods are methods that do not have bodies
metody abstrakcyjne to metody które nie posiadają cial
empezar lección
Abstract methods are methods that do not have bodies
klasa abstrakcyjna nie może posiadać obiektów ale może zawierać metody abstrakcyjne i implementacje metod
empezar lección
An abstract class cannot have objects but can contain abstract methods and method implementations
kompozycja technika w której jeden obiekt zawiera w sobie inny obiekt
empezar lección
composition a technique in which one object contains another object
powiększa się wraz z dodaniem do listy
empezar lección
grows as you add to the list
metoda statyczna nie są wywoływane na obiektach tylko na klasie
empezar lección
static methods are not called on butt objects on the class
metody nie statyczne są wywoływane na obiekcie inaczej obiektowe
empezar lección
non-static methods are called on an object otherwise object-oriented
zmienna statyczna jej wartość jest taka sama dla wszystkich obiektów. inicjalizowana tylko raz podczas tworzenia klasy
empezar lección
a static variable, its value is the same for all objects. initialized only once when the class is created
klasa nie mutowalna ma zmienne finał, każda modyfikacja tworzy nowy obiekt
empezar lección
a non-mutable class has a final variable, each modification creates a new object
arraylist rośnie wraz z dodaniem elementu do listy. metoda get, indeksowanie daje losowy dostęp do jej elementów
empezar lección
arraylist grows as an element is added to the list. get method, indexing gives random access to its elements, wstawianie, usuwanie elementów powoduje przesunięcie pozostalych
Map przechowuje pary klucz- wartość, klucz jest unikalny
empezar lección
Map stores key-value pairs, the key is unique
bariera klasa CyclicBarrier umożliwia grupie wątków synchronizację i oczekiwanie na siebie wzajemnie
empezar lección
barrier The CyclicBarrier class allows a group of threads to synchronize and wait for each other
LinkedList jest lepsze, gdy często usuwa się elementy z listy. nie powoduje przesunięcia elementów, elementy mają referencje do poprzedniego i następnego
empezar lección
LinkedList is better when you remove items from the list frequently. does not move elements, elements have references to the previous and next
setList to zbiór unikalnych elementów, bez gwarancji porządku
empezar lección
setList is a collection of unique items, with no guarantee after
LinkedHashSet zachowuje kolejność dodawanych elementów
empezar lección
LinkedHashSet maintains the order of added elements
metoda set umożliwia ustawienie wartości
empezar lección
the set method allows you to set a value
metoda get używana do wywołania wartości zmiennych
empezar lección
a game method used to call the values of variables
metoda konstruktora służy do inicjalizacji obiektu, nazywa się jak nazwa klasy
empezar lección
the constructor method is used to initialize the object, it is named as the class name
metoda join informuje wątek aby poczekał aż inny skonczy
empezar lección
The join method tells a thread to wait until another thread finishes
runnable interfejs do implementacji wątków, ma metodę run
empezar lección
runnable interface for implementing threads, has a run method
pola statyczne wartość pola jest taka sama dla wszystkich obiektów klasy
empezar lección
static fields the field value is the same for all objects
metody final nie mogą być przesłonięte w klasach pochodnych
empezar lección
final methods cannot be overridden in derived classes
klasa pośrednicząca zarządza komunikacja między obiektami w systemie
empezar lección
an intermediary class manages communication between objects in the system
klasa final klasa bezmozgowa nie może być dziedziczona
empezar lección
class final the anencephalic class cannot be inherited
zmiana wartości w polu statycznym spowoduje zmianę we wszystkich obiektach
empezar lección
changing the value in a static field will cause a change in all objects
pola statycznie istnieje niezależnie od tego czy mamy obiekty klasy
empezar lección
fields statically exists regardless of whether we have objects of the class
hashcode to wartość liczbowa kodu danego obiektu, jest taki sam przez cały okres trwania pbiektu
empezar lección
hashcode is the numerical value of the code of a given object, it is the same throughout the entire duration of the object
metoda interrupted przerwanie watku służy do bezpiecznego przerwania wątku, ustawia flagę przerwania
empezar lección
interrupted method thread interrupt is used to safely interrupt the thread, it sets the interrupt flag
klasa mutowalna pozwala na modyfikację za pomocą metod obiektu
empezar lección
a mutable class allows modification using the object's methods
klasa thread klasa do tworzenia i zarządzania wątkami alternatywa jest interfejs runnable
empezar lección
thread class A class for creating and managing threads. An alternative is the runnable interface
metoda start tworzy, run uruchamia, join czekaj aż inny skonczy, currentThread zwróć referencje do wątku
empezar lección
start method creates, run starts, join wait for another to finish, currentThread return references to the thread
equals służy do porównania hashcode obiektow
empezar lección
equals is used to compare the hashcode of objects
callable umożliwia zwracanie wyników, pozwala też zgłaszać wyjatki
empezar lección
callable allows you to return results and also allows you to throw exceptions
pola stałe pole nie może być zmienione po przypisaniu wartości
empezar lección
Final fields A field cannot be changed once a value is assigned
interrupted sprawdzenie flagi przerwania, czyli czy wątek ma flagę przerwania
empezar lección
interrupted checking the interrupt flag, i.e. whether the thread has an interrupt flag
interrupted sprawdzenie flagi przerwania, czyli czy wątek ma flagę przerwania
empezar lección
interrupted checking the interrupt flag, i.e. whether the thread has an interrupt flag
konkatenacja łączenie stringów w jeden
empezar lección
concatenation combining strings into one
sporządzać, zbierać
empezar lección
compile
nieważny
empezar lección
invalid
rozszerza się
empezar lección
extends
gniazdko
empezar lección
socket
transmisja
empezar lección
broadcast
cel
empezar lección
purpose
dłuższy
empezar lección
longer
nadpisanie
empezar lección
override
podłączony
empezar lección
conected
domyślna
empezar lección
default
przedłużać, poszerzać
rozszerzać klase
empezar lección
extend

Debes iniciar sesión para poder comentar.