|
Groovy JDK |
Method Summary | |
---|---|
CharSequence
|
getAt(int index)
Support the subscript operator for CharSequence |
CharSequence
|
getAt(Range range)
Support the range subscript operator for CharSequence |
CharSequence
|
getAt(IntRange range)
Support the range subscript operator for CharSequence or StringBuffer with IntRange |
CharSequence
|
getAt(EmptyRange range)
Support the range subscript operator for CharSequence or StringBuffer with EmptyRange |
CharSequence
|
getAt(Collection indices)
Allows a List to be used as the indices to be used on a CharSequence |
Method Detail |
---|
public CharSequence getAt(int index)
index
- the index of the Character to get.
public CharSequence getAt(Range range)
range
- a Range.
public CharSequence getAt(IntRange range)
range
- an IntRange.
public CharSequence getAt(EmptyRange range)
range
- an EmptyRange.
public CharSequence getAt(Collection indices)
indices
- a Collection of indices.
|
Groovy JDK |