bonii-xx opened a new pull request #696:
URL: https://github.com/apache/commons-lang/pull/696


    Adds a method to obtain a matching enum value based on a predicate. Quite 
useful when mapping values to enums.
   
   I used Optional as the return type since it allows the removal of a default 
value without removing any functionality, the caller has to handle the returned 
value if it's not found.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to