[
https://issues.apache.org/jira/browse/LANG-1635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17256110#comment-17256110
]
Gary D. Gregory commented on LANG-1635:
---------------------------------------
I'm -1 so far as this duplicates functionality already in the JRE provided by
{{Collections.frequency()}}:
For example:
{{Collections.frequency(Arrays.asList(true, false), true)}}
> Count True function improvement
> -------------------------------
>
> Key: LANG-1635
> URL: https://issues.apache.org/jira/browse/LANG-1635
> Project: Commons Lang
> Issue Type: Improvement
> Components: lang.*
> Affects Versions: 3.11
> Reporter: Arturo Bernal
> Priority: Major
> Fix For: 3.12
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> I've had the need recently of count the "true" value in a array. I didn't
> find any function that i can use easily and directly in BooleanUtils
> Would be great if we have some function to do that
--
This message was sent by Atlassian Jira
(v8.3.4#803005)