|
Groovy JDK | |||||||||
| Method Summary | |
|---|---|
boolean
|
equals(int[] right)
Compare the contents of this array to the contents of the given array |
Object
|
getAt(Range range)
Support the subscript operator with a range for an int array |
Object
|
getAt(IntRange range)
Support the subscript operator with an IntRange for an int array |
Object
|
getAt(ObjectRange range)
Support the subscript operator with an ObjectRange for an int array |
Object
|
getAt(Collection indices)
Support the subscript operator with a collection for an int array |
int
|
size()
Allows arrays to behave similar to collections |
List
|
toList()
Converts this array to a List of the same size, with each element added to the list |
| Method Detail |
|---|
public boolean equals(int[] right)
right - the operand array..
public Object getAt(Range range)
range - a range indicating the indices for the items to retrieve.
public Object getAt(IntRange range)
range - an IntRange indicating the indices for the items to retrieve.
public Object getAt(ObjectRange range)
range - an ObjectRange indicating the indices for the items to retrieve.
public Object getAt(Collection indices)
indices - a collection of indices for the items to retrieve.
public int size()
public List toList()
|
Groovy JDK | |||||||||