Skip to content
View cyboranf's full-sized avatar

Highlights

  • Pro
Block or Report

Block or report cyboranf

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
cyboranf/README.md
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;
    }
}                                                                                                                                                            


Pinned

  1. knych-full-stack knych-full-stack Public

    Web Application for Funeral Service

    4