Re: [LANG][COLLECTIONS] Require a static function to swap 2 elements in a array (primitive as well non-primitive)

2015-06-22 Thread Benedikt Ritter
Hello,

we already have such a functionality in [lang], but it hasn't been released
yet. Please see LANG-1099 [1] for more information.

br,
Benedikt

[1] https://issues.apache.org/jira/browse/LANG-1099

2015-06-18 16:44 GMT+02:00 venkatesha murthy venkateshamurth...@gmail.com:

 Hi Thomas,

 thanks for responding.

 Then does ArrayUtils has such a method ; for eg: i couldnt locate such a
 method in 3.4. am i missing something here.
 which jar and version should i look at.

 thanks
 venkat.

 On Thu, Jun 18, 2015 at 2:35 PM, Thomas Neidhart 
 thomas.neidh...@gmail.com
 wrote:

  Hi,
 
  I think such a feature belongs to the ArrayUtils class in lang.
 
  Thomas
 
  On Thu, Jun 18, 2015 at 5:08 AM, venkatesha murthy 
  venkateshamurth...@gmail.com wrote:
 
   Hi All
  
   I was looking to ArrayUtils(version 3.4) to hopefully find a swap
 method
  .
   Is this some thing available else where or can i implement one. please
   suggest.
  
   Also i am not sure which commons lib this can be placed with. please
 let
   know about that as well.
  
   thanks
   venkat.
  
 




-- 
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter


Re: [LANG][COLLECTIONS] Require a static function to swap 2 elements in a array (primitive as well non-primitive)

2015-06-18 Thread venkatesha murthy
Hi Thomas,

thanks for responding.

Then does ArrayUtils has such a method ; for eg: i couldnt locate such a
method in 3.4. am i missing something here.
which jar and version should i look at.

thanks
venkat.

On Thu, Jun 18, 2015 at 2:35 PM, Thomas Neidhart thomas.neidh...@gmail.com
wrote:

 Hi,

 I think such a feature belongs to the ArrayUtils class in lang.

 Thomas

 On Thu, Jun 18, 2015 at 5:08 AM, venkatesha murthy 
 venkateshamurth...@gmail.com wrote:

  Hi All
 
  I was looking to ArrayUtils(version 3.4) to hopefully find a swap method
 .
  Is this some thing available else where or can i implement one. please
  suggest.
 
  Also i am not sure which commons lib this can be placed with. please let
  know about that as well.
 
  thanks
  venkat.
 



Re: [LANG][COLLECTIONS] Require a static function to swap 2 elements in a array (primitive as well non-primitive)

2015-06-18 Thread Thomas Neidhart
Hi,

I think such a feature belongs to the ArrayUtils class in lang.

Thomas

On Thu, Jun 18, 2015 at 5:08 AM, venkatesha murthy 
venkateshamurth...@gmail.com wrote:

 Hi All

 I was looking to ArrayUtils(version 3.4) to hopefully find a swap method .
 Is this some thing available else where or can i implement one. please
 suggest.

 Also i am not sure which commons lib this can be placed with. please let
 know about that as well.

 thanks
 venkat.



[LANG][COLLECTIONS] Require a static function to swap 2 elements in a array (primitive as well non-primitive)

2015-06-17 Thread venkatesha murthy
Hi All

I was looking to ArrayUtils(version 3.4) to hopefully find a swap method .
Is this some thing available else where or can i implement one. please
suggest.

Also i am not sure which commons lib this can be placed with. please let
know about that as well.

thanks
venkat.