Skip to content
This repository has been archived by the owner on Feb 10, 2021. It is now read-only.

Completed solution #4

Open
wants to merge 56 commits into
base: master
Choose a base branch
from
Open

Completed solution #4

wants to merge 56 commits into from

Conversation

tboychuk
Copy link
Collaborator

@tboychuk tboychuk commented Oct 15, 2018

This pull request is created in order to discuss the completed solution of the exercises. Feel free to ask any questions by adding comments to the PR ➕

Add Linked List exercise to the common list of exercises
# Conflicts:
#	linked-list/src/main/java/com/bobocode/LinkedList.java

private static Path createPathFromFileName(String fileName) {
Objects.requireNonNull(fileName);
URL fileUrl = FileReaders.class.getClassLoader().getResource(fileName);
Copy link
Contributor

@shryhus shryhus Oct 25, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"getResource()"
Does this method retrieve a "resources" folder?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not only, in our case files from folder resources will be in the classpath, and that method allows to get a URL object of any kind of resource (any file) by its name.

You can check its javadoc for more details.

tboychuk and others added 18 commits October 26, 2018 12:56
# Conflicts:
#	concurrent-linked-queue-simple/src/main/java/com/bobocode/ConcurrentLinkedQueue.java
# Conflicts:
#	crazy-lambdas/src/main/java/com/bobocode/CrazyLambdas.java
…ise-Completed

GP-4 Complete CrazyOptionals exercise
# Conflicts:
#	crazy-streams/src/main/java/com.bobocode/CrazyStreams.java
# Conflicts:
#	lambda-math-functions/src/main/java/com.bobocode/Functions.java
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants