public abstract static class RenderingHints.Key extends Object
Modifier | Constructor and Description |
---|---|
protected |
RenderingHints.Key(int privateKey)
Creates a new key.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Checks this key for equality with an arbitrary object.
|
int |
hashCode()
Returns a hash code for the key.
|
protected int |
intKey()
Returns the private key for this instance.
|
abstract boolean |
isCompatibleValue(Object value)
Returns
true if the specified value is compatible with
this key, and false otherwise. |
protected RenderingHints.Key(int privateKey)
privateKey
- the private key.public abstract boolean isCompatibleValue(Object value)
true
if the specified value is compatible with
this key, and false
otherwise.value
- the value (null
permitted).protected final int intKey()
public final int hashCode()
hashCode
in class Object
Object.equals(Object)
,
System.identityHashCode(Object)
public final boolean equals(Object other)
equals
in class Object
other
- the object (null
permitted)Object.hashCode()