|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.RenderingHints.Key
public abstract static class RenderingHints.Key
The base class used to represent keys.
Constructor Summary | |
---|---|
protected |
RenderingHints.Key(int privateKey)
Creates a new key. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected RenderingHints.Key(int privateKey)
privateKey
- the private key.Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |