public class SimpleInternationalString extends AbstractInternationalString implements Serializable
| Constructor and Description |
|---|
SimpleInternationalString(String message)
Creates a new instance of international string.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Compares this international string with the specified object for equality.
|
int |
hashCode()
Returns a hash code value for this international text.
|
String |
toString(Locale locale)
Returns the same string for all locales.
|
static AbstractInternationalString |
wrap(CharSequence string)
If the specified string is null or an instance of
AbstractInternationalString,
returns it unchanged. |
charAt, compareTo, length, subSequence, toStringchars, codePointspublic SimpleInternationalString(String message)
message - The string for all locales.public static AbstractInternationalString wrap(CharSequence string)
AbstractInternationalString,
returns it unchanged. Otherwise, wraps the string value in a SimpleInternationalString.string - The string to wrap.public String toString(Locale locale)
toString in interface InternationalStringtoString in class AbstractInternationalStringlocale - The desired locale for the string to be returned, or null for a string
in the implementation default locale.public boolean equals(Object object)
Copyright © 1996–2019 Geotools. All rights reserved.