Skip to content

Conversation

farheen-shaikh530
Copy link

This PR adds a unique, creative file Functional/LambdaExpressionUtils.java that showcases Java 8+ lambda expressions through mini utilities using:
• Function<String, String> → Reverse a string
• Predicate → Check palindrome
• Consumer → Print shout version
• Function<Integer, Boolean> → Check if even
• Supplier → Random greeting generator

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.07%. Comparing base (e41c2b9) to head (d1ed98f).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6288      +/-   ##
============================================
+ Coverage     74.06%   74.07%   +0.01%     
  Complexity     5350     5350              
============================================
  Files           677      677              
  Lines         18648    18648              
  Branches       3621     3621              
============================================
+ Hits          13812    13814       +2     
+ Misses         4276     4275       -1     
+ Partials        560      559       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@siriak
Copy link
Member

siriak commented Jun 11, 2025

Please check if the proposed algorithms are already implemented elsewhere in the repository

@vil02
Copy link
Member

vil02 commented Jun 12, 2025

@farheen-shaikh530: please update your branch.

Copy link

@SrishtiSinha2003 SrishtiSinha2003 left a comment

Choose a reason for hiding this comment

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

Could you provide some examples?

@siriak
Copy link
Member

siriak commented Jun 23, 2025

Lambda expressions are not algorithms, we don't add examples of usage of existing functionality

@siriak siriak closed this Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants