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

Paul King updated GROOVY-11577:
-------------------------------
    Description: 
We have int[], long[], and double[] variants for "indexed". I plan to add 
float[].

I was also going to add int[], long[], float[], and double[] variants for 
"withIndex".


  was:
We only populated int[], long[], double[] for various AGM extension methods. 
Using double is normally always preferred over float when writing Java/Groovy 
code. But I have seen more and more cases when integrating with python 
libraries where floats are the norm, so I'll add some additional float[] 
variants.

I'll add to this list as I create a PR:
{code:java}
indexed(float[])
{code}


> Add withIndex methods for ArrayGroovyMethods and missing indexed for float[]
> ----------------------------------------------------------------------------
>
>                 Key: GROOVY-11577
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11577
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>
> We have int[], long[], and double[] variants for "indexed". I plan to add 
> float[].
> I was also going to add int[], long[], float[], and double[] variants for 
> "withIndex".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to