net.sf.staccatocommons.collections
Class Arrs

java.lang.Object
  extended by net.sf.staccatocommons.collections.Arrs

public class Arrs
extends Object

Class methods for dealing with arrays. Named as Arrs instead of Arrays in order to avoid clashed with Arrays

Author:
flbulgarelli

Constructor Summary
Arrs()
           
 
Method Summary
static
<A> A[]
from(A... elements)
          Creates an array specifying its elements.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Arrs

public Arrs()
Method Detail

from

public static <A> A[] from(A... elements)
Creates an array specifying its elements.

Type Parameters:
A -
Parameters:
elements -
Returns:
the given elements


Get Staccatocommons at SourceForge.net. Fast, secure and Free Open Source software downloads