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