Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
Java 8 Practical Examples
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Bhanuchander Pathuri
Java 8 Practical Examples
Commits
8fab2f37
Commit
8fab2f37
authored
Jan 23, 2023
by
Bhanuchander Pathuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
a9bc1811
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
README.md
README.md
+30
-0
No files found.
README.md
View file @
8fab2f37
# Java 8 Practical Examples
Sort the hashMap Keys in Desc Order?
Sort the hashMap Keys in Asc Order?
Sort the hashMap Values in Desc Order?
Sort the hashMap Values in Asc Order?
Sort the Employee by sal in desc?
Get the Employee whose salary is maximum?
Get The Maximum salary of Employee in each department ?
Duplicate Number From a List?
Occurance of a Character from a String?
Occurance of a number from a List
From the list of employees, get the first employee from the list and return his fullName.
where fullName = firstname + lastname.
Given a list of employees. Can you create a map with the count of employees each department has ?
with key as department name and count of employees as value.
Consider a list of employees, sort the employees by their firstName and return the sorted list of employees.
Consider a list of employees, return the employee whose empId is highest.
Consider a list of employees, concat the fullName of all the employees with pipe (|) and return the concatenated string.
where fullName = firstname + lastname.
ex: niranjankumar|viswaraj
Consider a list of 10 employees, get the 8th employee and print his full name and department name.
Consider a list of employees and get the count of employees based on the Gender
Get all the employees in ascending order based on the salary.
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment