|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
---|---|
long |
serialVersionUID
|
def |
values
|
Constructor Summary | |
GString(Object values)
|
|
GString(def values)
|
Method Summary | |
---|---|
void |
build(GroovyObject builder)
|
char |
charAt(int index)
|
int |
compareTo(Object that)
|
boolean |
equals(Object that)
|
boolean |
equals(GString that)
|
def |
getStrings()
|
Object |
getValue(int idx)
|
int |
getValueCount()
|
def |
getValues()
|
int |
hashCode()
|
Object |
invokeMethod(String name, Object args)
Overloaded to implement duck typing for Strings so that any method that can't be evaluated on this object will be forwarded to the toString() object instead. |
int |
length()
|
Pattern |
negate()
Turns a String into a regular expression pattern |
GString |
plus(GString that)
|
GString |
plus(String that)
|
CharSequence |
subSequence(int start, int end)
|
String |
toString()
|
Writer |
writeTo(Writer out)
|
Constructor Detail |
---|
public GString(Object values)
public GString(def values)
Method Detail |
---|
public void build(GroovyObject builder)
public char charAt(int index)
public int compareTo(Object that)
public boolean equals(Object that)
public boolean equals(GString that)
public def getStrings()
public Object getValue(int idx)
public int getValueCount()
public def getValues()
public int hashCode()
public Object invokeMethod(String name, Object args)
public int length()
public Pattern negate()
public GString plus(GString that)
public GString plus(String that)
public CharSequence subSequence(int start, int end)
public String toString()
public Writer writeTo(Writer out)