[ 
https://issues.apache.org/jira/browse/LANG-1008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989608#comment-13989608
 ] 

Thiago Andrade commented on LANG-1008:
--------------------------------------

All these methods have the purpose of being a shorcut for max and min methods 
but using ´varargs´ instead of creating an regular java array to use the method.

For example

{code:java|borderStyle=solid}
NumberUtils.max(new int[] { 1, 2, 3, 4, 5, 6  }); // returns 6

NumberUtils.maxVA(1, 2, 3, 4, 5, 6); // returns 6
{code}

> Adding the maxVA and minVA methods to NumberUtils and test methods
> ------------------------------------------------------------------
>
>                 Key: LANG-1008
>                 URL: https://issues.apache.org/jira/browse/LANG-1008
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.*, lang.math.*
>            Reporter: Thiago Andrade
>              Labels: github
>             Fix For: Review Patch
>
>
> Placeholder ticket for github PR 23: 
> https://github.com/apache/commons-lang/pull/23



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to