net.sf.staccatocommons.collections
Class Arrs
java.lang.Object
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
|
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 |
Arrs
public Arrs()
from
public static <A> A[] from(A... elements)
- Creates an array specifying its elements.
- Type Parameters:
A - - Parameters:
elements -
- Returns:
- the given elements