|
Groovy JDK |
Method Summary | |
---|---|
boolean
|
asBoolean()
Coerce a string (an instance of CharSequence) to a boolean value. |
CharSequence
|
getAt(int)
Support the subscript operator for CharSequence. |
CharSequence
|
getAt(Range)
Support the range subscript operator for CharSequence |
CharSequence
|
getAt(IntRange)
Support the range subscript operator for CharSequence or StringBuffer with IntRange |
CharSequence
|
getAt(EmptyRange)
Support the range subscript operator for CharSequence or StringBuffer with EmptyRange |
CharSequence
|
getAt(Collection)
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
- the index of the Character to get.public CharSequence getAt(Range)
range
- a Range.public CharSequence getAt(IntRange)
range
- an IntRange.public CharSequence getAt(EmptyRange)
range
- an EmptyRange.public CharSequence getAt(Collection)
indices
- a Collection of indices.
|
Groovy JDK |