|
Groovy JDK |
Method Summary | |
---|---|
boolean
|
asBoolean()
Coerce a string (an instance of CharSequence) to a boolean value. |
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)
Select a List of characters from a CharSequence using a Collection to identify the indices to be selected. |
Method Detail |
---|
public boolean asBoolean()
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 |