public abstract static class RenderingHints.Key extends Object
Modifier | Constructor and Description |
---|---|
protected |
Key(int privatekey)
使用指示的私钥构造一个密钥。
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
所有关键对象的等于方法将返回相同的结果,作为平等的运营商= =“。
|
int |
hashCode()
所有关键对象的哈希码将作为对象的系统识别码由系统定义identityhashcode()方法相同。
|
protected int |
intKey()
返回子类实例化这个密钥和私有整数键。
|
abstract boolean |
isCompatibleValue(Object val)
如果指定的对象是此键的有效值,则返回真值。
|
protected Key(int privatekey)
privatekey
-指定键
public abstract boolean isCompatibleValue(Object val)
val
-
Object
测试的有效性
true
如果
val
是有效的;
false
否则。
protected final int intKey()
public final int hashCode()
hashCode
方法重写,继承类
Object
Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)
public final boolean equals(Object o)
equals
方法重写,继承类
Object
o
-参考对象的比较。
true
obj参数相同;
false
否则。
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.