You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2019/08/14 22:54:00 UTC

[jira] [Closed] (COLLECTIONS-726) Add lambdas function to provide default values in MapUtils #81

     [ https://issues.apache.org/jira/browse/COLLECTIONS-726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Gregory closed COLLECTIONS-726.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 4.5

In git master.

> Add lambdas function to provide default values in MapUtils #81
> --------------------------------------------------------------
>
>                 Key: COLLECTIONS-726
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-726
>             Project: Commons Collections
>          Issue Type: New Feature
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>            Priority: Major
>             Fix For: 4.5
>
>
> Add lambdas function to provide default values in MapUtils #81.
> Add APIs:
> - org.apache.commons.collections4.MapUtils.getBoolean(Map<? super K, ?>, K, Function<K, Boolean>)
> - org.apache.commons.collections4.MapUtils.getBooleanValue(Map<? super K, ?>, K, Function<K, Boolean>)
> - org.apache.commons.collections4.MapUtils.getByte(Map<? super K, ?>, K, Function<K, Byte>)
> - org.apache.commons.collections4.MapUtils.getByteValue(Map<? super K, ?>, K, Function<K, Byte>)
> - org.apache.commons.collections4.MapUtils.getDouble(Map<? super K, ?>, K, Function<K, Double>)
> - org.apache.commons.collections4.MapUtils.getDoubleValue(Map<? super K, ?>, K, Function<K, Double>)
> - org.apache.commons.collections4.MapUtils.getFloat(Map<? super K, ?>, K, Function<K, Float>)
> - org.apache.commons.collections4.MapUtils.getFloatValue(Map<? super K, ?>, K, Function<K, Float>)
> - org.apache.commons.collections4.MapUtils.getInteger(Map<? super K, ?>, K, Function<K, Integer>)
> - org.apache.commons.collections4.MapUtils.getIntValue(Map<? super K, ?>, K, Function<K, Integer>)
> - org.apache.commons.collections4.MapUtils.getLong(Map<? super K, ?>, K, Function<K, Long>)
> - org.apache.commons.collections4.MapUtils.getLongValue(Map<? super K, ?>, K, Function<K, Long>)
> - org.apache.commons.collections4.MapUtils.getMap(Map<? super K, ?>, K, Function<K, Map<?, ?>>)
> - org.apache.commons.collections4.MapUtils.getNumber(Map<? super K, ?>, K, Function<K, Number>)
> - org.apache.commons.collections4.MapUtils.getShort(Map<? super K, ?>, K, Function<K, Short>)
> - org.apache.commons.collections4.MapUtils.getShortValue(Map<? super K, ?>, K, Function<K, Short>)
> - org.apache.commons.collections4.MapUtils.getString(Map<? super K, ?>, K, Function<K, String>)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)