public abstract class TextSyntax extends Object implements Serializable, Cloneable
| Modifier | Constructor and Description |
|---|---|
protected |
TextSyntax(String value, Locale locale)
构建一个与指定的字符串和设置文本属性。
|
protected TextSyntax(String value, Locale locale)
value文本字符串。
locale -自然语言文本字符串。空的解释是因为
Locale.getDefault()返回的默认区域设置
NullPointerException -(unchecked异常)如果
value空抛。
public String getValue()
public Locale getLocale()
public int hashCode()
hashCode 方法重写,继承类
Object
Object.equals(java.lang.Object),
System.identityHashCode(java.lang.Object)
public boolean equals(Object object)
object不空。object是类textsyntax实例。object基本相等。object的现场都是平等的。equals 方法重写,继承类
Object
object对象比较。
object相当于这个文本属性真,否则为假。
Object.hashCode(),
HashMap
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.