|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjava.awt.RenderingHints.Key
public abstract static class RenderingHints.Key
draw와 이미징의 파이프라인의 다양한 알고리즘의 선택을 제어하기 위해서 RenderingHints
클래스와 함께 사용되는, 모든 키의 기저형을 정의합니다. 이 클래스의 인스턴스는 불변이며 일의의 것입니다. 이것은, 일치하고 있을지 어떨지의 판별이 보다 부하가 큰 equals()
메소드 대신에 ==
연산자를 사용해 실시할 수 있는 것을 의미합니다.
생성자 의 개요 | |
---|---|
protected |
RenderingHints.Key (int privatekey)
지정된 비공개키를 사용해 키를 구축합니다. |
메소드의 개요 | |
---|---|
boolean |
equals (Object o)
모든 Key 객체에 대한 equals 메소드는, 동등 연산자 '=='와 같은 결과를 돌려줍니다. |
int |
hashCode ()
모든 Key 객체의 해시 코드는 System.identityHashCode() 메소드에 의해 정의된 객체의 시스템 식별 코드와 같게 됩니다. |
protected int |
intKey ()
서브 클래스가 이 Key 의 인스턴스를 생성한 정수형 비공개키를 돌려줍니다. |
abstract boolean |
isCompatibleValue (Object val)
지정된 객체가 이 Key 에 대해서 유효한 값의 경우 true 를 돌려줍니다. |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , finalize , getClass , notify , notifyAll , toString , wait , wait , wait |
생성자 의 상세 |
---|
protected RenderingHints.Key(int privatekey)
privatekey
- 지정된 키메소드의 상세 |
---|
public abstract boolean isCompatibleValue(Object val)
val
- 유효성을 판정하는 Object
val
가 유효한 경우는 true
,
그렇지 않은 경우는 false
protected final int intKey()
public final int hashCode()
Object
내의 hashCode
Object.equals(java.lang.Object)
,
Hashtable
public final boolean equals(Object o)
Object
내의 equals
o
- 비교 대상의 참조 객체
true
, 그렇지 않은 경우는 false
Object.hashCode()
,
Hashtable
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.