zdania

 0    70 Datenblatt    izabelaszyjka
mp3 downloaden Drucken spielen überprüfen
 
Frage Antworten
synchronizacja pozwala tylko jednemu wątkowi na wykonywanie kodu w danym czasie
Lernen beginnen
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
Lernen beginnen
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
Lernen beginnen
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
Lernen beginnen
queuesA blocking data structure used for secure communication and thread collaboration
thread pools umożliwia ponowne wykorzystanie wątków w klasie ExecutorService
Lernen beginnen
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
Lernen beginnen
thread integration is the harmonization of activities between threads to achieve a common goal
synchronizacja to współdzielenie zmienny
Lernen beginnen
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
Lernen beginnen
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
Lernen beginnen
The notify, notifyAll method informs the first thread that other threads meet the conditions
metoda wait oczekiwanie na warunki
Lernen beginnen
wait method waiting for conditions
hashtable jest synchronizowany, bezpieczna w środowisku wielowątkowym
Lernen beginnen
hashtable is synchronized, safe in a multi-threaded environment
Może mieć różne modyfikatory dostępu
Lernen beginnen
It can have various Access modifiers
Java to język kompilowany czyli jego kod źródłowy jest tłumaczony na język maszynowy
Lernen beginnen
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
Lernen beginnen
Java is a programming language, universal, object-oriented, simple, safe, and popular
optional to klasa do obsługi null
Lernen beginnen
optional is a class to handle null
programowanie funkcyjne to lambda i streamy
Lernen beginnen
functional programming is lambda and streams
interfejs może dziedziczyć inne interfejsy wtedy klasa go implementujaca musi implementować metody wszystkich
Lernen beginnen
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
Lernen beginnen
the interface also has constant methods
abstrakcyjne metody interfejsu, klasa która posiada interfejs musi implementować jego metody
Lernen beginnen
abstract interface methods, a class that has an interface must implement its methods
interfejs to metoda abstrakcyjna która dostarcza metod do klas
Lernen beginnen
An interface is an abstract method that provides methods to classes
klasy dziedziczące muszą dokonać implementacji wszystkich metod klasy dziedziczonej
Lernen beginnen
inheriting classes must implement all the methods of the inherited class
metody abstrakcyjne to metody które nie posiadają cial
Lernen beginnen
Abstract methods are methods that do not have bodies
metody abstrakcyjne to metody które nie posiadają cial
Lernen beginnen
Abstract methods are methods that do not have bodies
metody abstrakcyjne to metody które nie posiadają cial
Lernen beginnen
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
Lernen beginnen
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
Lernen beginnen
composition a technique in which one object contains another object
powiększa się wraz z dodaniem do listy
Lernen beginnen
grows as you add to the list
metoda statyczna nie są wywoływane na obiektach tylko na klasie
Lernen beginnen
static methods are not called on butt objects on the class
metody nie statyczne są wywoływane na obiekcie inaczej obiektowe
Lernen beginnen
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
Lernen beginnen
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
Lernen beginnen
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
Lernen beginnen
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
Lernen beginnen
Map stores key-value pairs, the key is unique
bariera klasa CyclicBarrier umożliwia grupie wątków synchronizację i oczekiwanie na siebie wzajemnie
Lernen beginnen
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
Lernen beginnen
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
Lernen beginnen
setList is a collection of unique items, with no guarantee after
LinkedHashSet zachowuje kolejność dodawanych elementów
Lernen beginnen
LinkedHashSet maintains the order of added elements
metoda set umożliwia ustawienie wartości
Lernen beginnen
the set method allows you to set a value
metoda get używana do wywołania wartości zmiennych
Lernen beginnen
a game method used to call the values of variables
metoda konstruktora służy do inicjalizacji obiektu, nazywa się jak nazwa klasy
Lernen beginnen
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
Lernen beginnen
The join method tells a thread to wait until another thread finishes
runnable interfejs do implementacji wątków, ma metodę run
Lernen beginnen
runnable interface for implementing threads, has a run method
pola statyczne wartość pola jest taka sama dla wszystkich obiektów klasy
Lernen beginnen
static fields the field value is the same for all objects
metody final nie mogą być przesłonięte w klasach pochodnych
Lernen beginnen
final methods cannot be overridden in derived classes
klasa pośrednicząca zarządza komunikacja między obiektami w systemie
Lernen beginnen
an intermediary class manages communication between objects in the system
klasa final klasa bezmozgowa nie może być dziedziczona
Lernen beginnen
class final the anencephalic class cannot be inherited
zmiana wartości w polu statycznym spowoduje zmianę we wszystkich obiektach
Lernen beginnen
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
Lernen beginnen
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
Lernen beginnen
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
Lernen beginnen
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
Lernen beginnen
a mutable class allows modification using the object's methods
klasa thread klasa do tworzenia i zarządzania wątkami alternatywa jest interfejs runnable
Lernen beginnen
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
Lernen beginnen
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
Lernen beginnen
equals is used to compare the hashcode of objects
callable umożliwia zwracanie wyników, pozwala też zgłaszać wyjatki
Lernen beginnen
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
Lernen beginnen
Final fields A field cannot be changed once a value is assigned
interrupted sprawdzenie flagi przerwania, czyli czy wątek ma flagę przerwania
Lernen beginnen
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
Lernen beginnen
interrupted checking the interrupt flag, i.e. whether the thread has an interrupt flag
konkatenacja łączenie stringów w jeden
Lernen beginnen
concatenation combining strings into one
sporządzać, zbierać
Lernen beginnen
compile
nieważny
Lernen beginnen
invalid
rozszerza się
Lernen beginnen
extends
gniazdko
Lernen beginnen
socket
transmisja
Lernen beginnen
broadcast
cel
Lernen beginnen
purpose
dłuższy
Lernen beginnen
longer
nadpisanie
Lernen beginnen
override
podłączony
Lernen beginnen
conected
domyślna
Lernen beginnen
default
przedłużać, poszerzać
rozszerzać klase
Lernen beginnen
extend

Sie müssen eingeloggt sein, um einen Kommentar zu schreiben.