CodeGym /Courses /Java Collections /Big task: Java aggregator

Big task: Java aggregator

Java Collections
Level 8 , Lesson 15
Available

"Hello, soldier!"

"Congratulations on upgrading your skills. We need guys who are prepared to do anything."

"I'm sure you still have many unfinished tasks. It's time to finish some of them!"

10
Task
Java Collections, level 8, lesson 15
Locked
Aggregator (part 1)
Aggregator (part 1)
18
Task
Java Collections, level 8, lesson 15
Locked
Aggregator (part 2)
Aggregator (part 2)
18
Task
Java Collections, level 8, lesson 15
Locked
Aggregator (part 3)
Aggregator (part 3)
18
Task
Java Collections, level 8, lesson 15
Locked
Aggregator (part 4)
Aggregator (part 4)
18
Task
Java Collections, level 8, lesson 15
Locked
Aggregator (part 5)
Aggregator (part 5)
36
Task
Java Collections, level 8, lesson 15
Locked
Aggregator (part 6)
Aggregator (part 6)
18
Task
Java Collections, level 8, lesson 15
Locked
Aggregator (part 7)
Aggregator (part 7)
36
Task
Java Collections, level 8, lesson 15
Locked
Aggregator (part 8)
Aggregator (part 8)
18
Task
Java Collections, level 8, lesson 15
Locked
Aggregator (part 9)
Aggregator (part 9)
18
Task
Java Collections, level 8, lesson 15
Locked
Aggregator (part 10)
Aggregator (part 10)
10
Task
Java Collections, level 8, lesson 15
Locked
Aggregator (part 11)
Aggregator (part 11)
10
Task
Java Collections, level 8, lesson 15
Locked
Aggregator (part 12)
Aggregator (part 12)
18
Task
Java Collections, level 8, lesson 15
Locked
Aggregator (part 13)
Aggregator (part 13)
18
Task
Java Collections, level 8, lesson 15
Locked
Aggregator (part 14)
Aggregator (part 14)
36
Task
Java Collections, level 8, lesson 15
Locked
Aggregator (part 15)
Aggregator (part 15)
36
Task
Java Collections, level 8, lesson 15
Locked
Aggregator (part 16)
Aggregator (part 16)
10
Task
Java Collections, level 8, lesson 15
Locked
Aggregator (part 17)
Aggregator (part 17)
Comments (12)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
Hoist Level 17, San Diego, United States
6 March 2025
Think about this (partial) module here --- most of the work in here Strategy is an interface type that's being used in the Provider class. The Provider class has: A private field named strategy that is of type Strategy (interface) A constructor that takes a Strategy parameter to initialize this field A setter method that allows changing the strategy field after the object is created This implementation follows the Strategy design pattern, where: Provider is the context class that uses a strategy Strategy is the interface that defines the contract for all concrete strategy implementations --- The concrete strategy classes would implement the Strategy interface // add the class up here private Strategy strategy; public Provider(Strategy strategy) { this.strategy = strategy; } public void setStrategy(Strategy strategy) { this.strategy = strategy; } }
Ibrahim Level 24, Sheffield, United Kingdom
27 June 2022
That wasn't too bad a task just wish there was more explanation on how to use Jsoup.
Szymon Level 41, Warsaw, Poland
30 December 2021
https://hexometer.com/http-status-codes/ Read about error no. 999: "Status code 999 - a non-standard code is returned by some sites (e.g. LinkedIn) which do not permit scanning." Doesn't it mean that creating such a program is basically blocked by LinkedIn itself?
Thành Black Level 49, Hanoi
17 December 2021
Install Jsoup with Maven:

<!-- https://mvnrepository.com/artifact/org.jsoup/jsoup -->
<dependency>
    <groupId>org.jsoup</groupId>
    <artifactId>jsoup</artifactId>
    <version>1.14.3</version>
</dependency>

Andrei Level 41
28 July 2021
How do I add the jsoup library? It only has .java files when I download it...
Dave Andrea Level 41, Canada
2 October 2020
Well... that was a mess. The instructions were actually wrong in multiple places and the validator was all over the place. No wonder only 24 people completed this. It was actually a pretty cool task to implement, but it was way more painful than it needed to be. If anyone needs help on this one you can message me. or message me the link to your question in the help section.
Juan Ma Level 1, Arauca, Colombia
27 June 2020
If you are not acquainted with html I recommend you this course you will need it. In tasks 8 and 16 just add a break before going to the next page since the codegym cache web only have one page. Happy coding :)
JianQiu Hwang Level 35, Washington
16 May 2020
How incomprehensible! It should be rewrited.
fzw Level 41, West University Place, United States
12 May 2020
Validation is a little bit dumb. For Linkedin strategy, remove duplicate job postings. But don't remove duplication for Indeed strategy Indeed strategy: private static final ... URL_FORMAT will not pass validation. use "static private final ..."
Senned Level 41, Azov, Russia
10 January 2020
Aggregator (part 8) The average number of attempts for this task is 77.0. O_O
Senned Level 41, Azov, Russia
10 January 2020
19 attempts becouse in conditions not consist that List of jobPosting must have unique values