|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.lang.reflect.Modifier
public class Modifier
Modifier Ŭ·¡½º´Â Ŭ·¡½º³ª ¸â¹öÀÇ ¾×¼¼½º ¼ö½ÄÀÚ¸¦ º¹È£ÈÇϱâ À§ÇÑ static
¸Þ¼µå³ª Á¤¼ö¸¦ Á¦°øÇÕ´Ï´Ù. ¼ö½ÄÀÚ¼¼Æ®´Â ´Ù¸¥ ¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â º°°³ÀÇ ºñÆ® À§Ä¡¸¦ º¸°ü À¯ÁöÇÏ´Â Á¤¼ö·Î ³ªÅ¸³»Áý´Ï´Ù. ¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â Á¤¼ö°ª´Â ¡¸JavaTM °¡»ó ¸Ó½Å »ç¾ç Á¦ 2 ÆÇ¡¹ÀÇ Ç¥ 4.1,
4.4,
4.5 ¹× 4.7 À¸·Î ÁöÁ¤µÇ°í ÀÖ½À´Ï´Ù.
Class.getModifiers()
,
Member.getModifiers()
ÇÊµå °³¿ä | |
---|---|
static int |
ABSTRACT
abstract ¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int °ªÀÔ´Ï´Ù. |
static int |
FINAL
final ¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int °ªÀÔ´Ï´Ù. |
static int |
INTERFACE
interface ¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int °ªÀÔ´Ï´Ù. |
static int |
NATIVE
native ¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int °ªÀÔ´Ï´Ù. |
static int |
PRIVATE
private ¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int °ªÀÔ´Ï´Ù. |
static int |
PROTECTED
protected ¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int °ªÀÔ´Ï´Ù. |
static int |
PUBLIC
public ¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int °ªÀÔ´Ï´Ù. |
static int |
STATIC
static ¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int °ªÀÔ´Ï´Ù. |
static int |
STRICT
strictfp ¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int °ªÀÔ´Ï´Ù. |
static int |
SYNCHRONIZED
synchronized ¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int °ªÀÔ´Ï´Ù. |
static int |
TRANSIENT
transient ¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int °ªÀÔ´Ï´Ù. |
static int |
VOLATILE
volatile ¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int °ªÀÔ´Ï´Ù. |
»ý¼ºÀÚ °³¿ä | |
---|---|
Modifier ()
|
¸Þ¼µå °³¿ä | |
---|---|
static boolean |
isAbstract (int mod)
Á¤¼öÀÇ Àμö¿¡ abstract ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true¸¦, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â false¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
static boolean |
isFinal (int mod)
Á¤¼öÀÇ Àμö¿¡ final ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true¸¦, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â false¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
static boolean |
isInterface (int mod)
Á¤¼öÀÇ Àμö¿¡ interface ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true¸¦, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â false¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
static boolean |
isNative (int mod)
Á¤¼öÀÇ Àμö¿¡ native ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true¸¦, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â false¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
static boolean |
isPrivate (int mod)
Á¤¼öÀÇ Àμö¿¡ private ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true¸¦, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â false¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
static boolean |
isProtected (int mod)
Á¤¼öÀÇ Àμö¿¡ protected ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true¸¦, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â false¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
static boolean |
isPublic (int mod)
Á¤¼öÀÇ Àμö¿¡ public ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true¸¦, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â false¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
static boolean |
isStatic (int mod)
Á¤¼öÀÇ Àμö¿¡ static ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true¸¦, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â false¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
static boolean |
isStrict (int mod)
Á¤¼öÀÇ Àμö¿¡ strictfp ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true¸¦, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â false¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
static boolean |
isSynchronized (int mod)
Á¤¼öÀÇ Àμö¿¡ synchronized ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true¸¦, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â false¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
static boolean |
isTransient (int mod)
Á¤¼öÀÇ Àμö¿¡ transient ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true¸¦, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â false¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
static boolean |
isVolatile (int mod)
Á¤¼öÀÇ Àμö¿¡ volatile ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true¸¦, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â false¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
static String |
toString (int mod)
ÁöÁ¤µÈ ¼ö½ÄÀÚÀÇ ¾×¼¼½º ¼ö½ÄÀÚ Ç÷¡±×¸¦ ±â¼úÇϴ ij¸¯ÅÍ ¶óÀÎÀ» ¸®ÅÏÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ÇʵåÀÇ »ó¼¼ |
---|
public static final int PUBLIC
public
¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int
°ªÀÔ´Ï´Ù.
public static final int PRIVATE
private
¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int
°ªÀÔ´Ï´Ù.
public static final int PROTECTED
protected
¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int
°ªÀÔ´Ï´Ù.
public static final int STATIC
static
¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int
°ªÀÔ´Ï´Ù.
public static final int FINAL
final
¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int
°ªÀÔ´Ï´Ù.
public static final int SYNCHRONIZED
synchronized
¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int
°ªÀÔ´Ï´Ù.
public static final int VOLATILE
volatile
¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int
°ªÀÔ´Ï´Ù.
public static final int TRANSIENT
transient
¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int
°ªÀÔ´Ï´Ù.
public static final int NATIVE
native
¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int
°ªÀÔ´Ï´Ù.
public static final int INTERFACE
interface
¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int
°ªÀÔ´Ï´Ù.
public static final int ABSTRACT
abstract
¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int
°ªÀÔ´Ï´Ù.
public static final int STRICT
strictfp
¼ö½ÄÀÚ¸¦ ³ªÅ¸³»´Â int
°ªÀÔ´Ï´Ù.
»ý¼ºÀÚ »ó¼¼ |
---|
public Modifier()
¸Þ¼µåÀÇ »ó¼¼ |
---|
public static boolean isPublic(int mod)
mod
- ¼ö½ÄÀÚ¼¼Æ®
mod
¿¡ public ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â falsepublic static boolean isPrivate(int mod)
mod
- ¼ö½ÄÀÚ¼¼Æ®
mod
¿¡ private ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â falsepublic static boolean isProtected(int mod)
mod
- ¼ö½ÄÀÚ¼¼Æ®
mod
¿¡ protected ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â falsepublic static boolean isStatic(int mod)
mod
- ¼ö½ÄÀÚ¼¼Æ®
mod
¿¡ static ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â falsepublic static boolean isFinal(int mod)
mod
- ¼ö½ÄÀÚ¼¼Æ®
mod
¿¡ final ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â falsepublic static boolean isSynchronized(int mod)
mod
- ¼ö½ÄÀÚ¼¼Æ®
mod
¿¡ synchronized ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â falsepublic static boolean isVolatile(int mod)
mod
- ¼ö½ÄÀÚ¼¼Æ®
mod
¿¡ volatile ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â falsepublic static boolean isTransient(int mod)
mod
- ¼ö½ÄÀÚ¼¼Æ®
mod
¿¡ transient ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â falsepublic static boolean isNative(int mod)
mod
- ¼ö½ÄÀÚ¼¼Æ®
mod
¿¡ native ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â falsepublic static boolean isInterface(int mod)
mod
- ¼ö½ÄÀÚ¼¼Æ®
mod
¿¡ interface ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â falsepublic static boolean isAbstract(int mod)
mod
- ¼ö½ÄÀÚ¼¼Æ®
mod
¿¡ abstract ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â falsepublic static boolean isStrict(int mod)
mod
- ¼ö½ÄÀÚ¼¼Æ®
mod
¿¡ strictfp ¼ö½ÄÀÚ°¡ Æ÷ÇԵǴ °æ¿ì´Â true, Æ÷ÇÔµÇÁö ¾Ê´Â °æ¿ì´Â falsepublic static String toString(int mod)
¼ö½ÄÀÚ¸íÀº, ¡¸Java ¾ð¾î »ç¾ç Á¦ 2 ÆÇ¡¹ÀÇ §8. 1.1, §8. 3.1, §8. 4.3, §8. 8.3 ¹× §9. 1.1 À¸·Î °¡¸®Å°´Â Ãßõ ¼ö½ÄÀÚ ¼ø¼¿¡ ÀûÇÕÇÏ´Â ¼ø¼·Î ¸®Åϵ˴ϴ٠. ÀÌ ¸Þ¼µå·Î »ç¿ëµÇ´Â ¿ÏÀüÇÑ ¼ö½ÄÀÚÀÇ ¼ø¼´Â ÀÌÇÏ´ë·ÎÀÔ´Ï´Ù.public final synchronized strictfp
public protected private abstract static final transient volatile synchronized native strictfp interface
ÀÌ Å¬·¡½º¿¡¼ ¼³¸íµÇ°í ÀÖ´Â interface
mod
- ¼ö½ÄÀÚ¼¼Æ®
mod
¿¡ ÀÇÇØ ³ªÅ¸³»Áö´Â ¼ö½ÄÀÚ ¼¼Æ®ÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇö
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.