package io.github.cyboranf.cyboranf.domain.entities;
import java.util.Map;
import java.util.stream.Collectors;
public class GitHubBio extends Bio {
private final String profile;
private final Map<String, String> bio;
public GitHubBio() {
this.bio = Map.of(
"Current Work", "I’m currently working on my Portfolio",
"Skill", "I’m improving my java skill",
"Knowledge", "Ask me about my knowledge",
"Contact", "How to reach me: cyboranf@gmail.com"
);
this.profile = "https://github.com/cyboranf";
}
public GitHubBio(String profile, Map<String, String> bio) {
this.profile = profile;
this.bio = bio;
}
@Override
public String getBio() {
return bio.entrySet()
.stream()
.map(entry -> "- " + entry.getKey() + ": **" + entry.getValue() + "**")
.collect(Collectors.joining(System.lineSeparator()));
}
public String getProfile() {
return profile;
}
}
☕
-
Uniwersytet Rzeszowski
- Rzeszow/Cracow
-
04:47
(UTC +02:00) - in/filip-cyboran-882a89225
Highlights
- Pro
Block or Report
Block or report cyboranf
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.