public class DefaultStringWithAlias extends java.lang.Object implements StringWithAlias
Constructor and Description |
---|
DefaultStringWithAlias(java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
StringWithAlias |
add(java.lang.String value) |
int |
compareTo(java.lang.Object other) |
int |
compareToIgnoreCase(java.lang.Object other) |
java.lang.String |
concat(java.lang.Object other) |
boolean |
endsWith(java.lang.Object suffix) |
boolean |
equals(java.lang.Object other) |
boolean |
equalsIgnoreCase(java.lang.Object other) |
java.util.List |
getAlias() |
boolean |
matches(java.lang.String regex) |
boolean |
startsWith(java.lang.Object suffix) |
boolean |
startsWith(java.lang.Object suffix,
int toffset) |
java.lang.String |
toString() |
public StringWithAlias add(java.lang.String value)
add
in interface StringWithAlias
public java.util.List getAlias()
getAlias
in interface StringWithAlias
public boolean equals(java.lang.Object other)
equals
in interface StringWithAlias
equals
in class java.lang.Object
public boolean equalsIgnoreCase(java.lang.Object other)
equalsIgnoreCase
in interface StringWithAlias
public boolean endsWith(java.lang.Object suffix)
endsWith
in interface StringWithAlias
public boolean startsWith(java.lang.Object suffix)
startsWith
in interface StringWithAlias
public boolean startsWith(java.lang.Object suffix, int toffset)
startsWith
in interface StringWithAlias
public boolean matches(java.lang.String regex)
matches
in interface StringWithAlias
public int compareTo(java.lang.Object other)
compareTo
in interface StringWithAlias
public int compareToIgnoreCase(java.lang.Object other)
compareToIgnoreCase
in interface StringWithAlias
public java.lang.String toString()
toString
in interface StringWithAlias
toString
in class java.lang.Object
public java.lang.String concat(java.lang.Object other)
concat
in interface StringWithAlias