16
Uppgift
Java Collections,  nivålektion
Låst
Mastering ClassLoader and Reflection
The Solution class constructor's parameter is the absolute path to a package. The package name may include the File.separator. In addition to compiled classes (.class), the package may have other files (for example: .java).
9
Uppgift
Java Collections,  nivålektion
Låst
Find the class by its description
Class description: 1. It implements the Queue interface. 2. It is used when working with threads. 3. Elements can only be taken from the queue after they have expired (their delay period has passed). 4. The head of the queue is the element that expires first.
32
Uppgift
Java Collections,  nivålektion
Låst
MyMultiMap
Amigo, sometimes Java's built-in collections aren't enough. When that's the case, you can use third-party implementations, such as Google Guava or Apache Commons, or you can implement your own data structure.
9
Uppgift
Java Collections,  nivålektion
Låst
Why doesn't the set contain an element?
Historians added several dates of past events to a special set in the initializeDates method. Later, they studied the historical documents more closely and more precisely calculated the time of the latest event lastDate.
9
Uppgift
Java Collections,  nivålektion
Låst
Find the class by its description
Class description: 1. The class is in the java.util.concurrent package. 2. It implements the BlockingQueue interface. 3. It is used when working with threads. 4. It is a blocking queue in which each add operation must wait for a corresponding delete operation on another thread and vice versa.