Java in a Nutshell, 5th Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Java in a Nutshell, 5th Edition [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید


Modifierjava.lang.reflect

Java 1.1

This class defines a number of constants and
static methods that can interpret the integer values returned by the
getModifiers( ) methods of the
Field, Method, and
Constructor classes. The isPublic(
) , isAbstract( ),
and related methods return true if the modifier
value includes the specified modifier; otherwise, they return
false. The
constants defined by this class specify
the various bit flags used in the modifiers value. You can use these
constants to test for modifiers if you want to perform your own
boolean algebra.

public class

Modifier {
// Public Constructors
public

Modifier ( );
// Public Constants
public static final int

ABSTRACT ; =1024
public static final int

FINAL ; =16
public static final int

INTERFACE ; =512
public static final int

NATIVE ; =256
public static final int

PRIVATE ; =2
public static final int

PROTECTED ; =4
public static final int

PUBLIC ; =1
public static final int

STATIC ; =8

1.2 public static final int

STRICT ; =2048
public static final int

SYNCHRONIZED ; =32
public static final int

TRANSIENT ; =128
public static final int

VOLATILE ; =64
// Public Class Methods
public static boolean

isAbstract (int

mod );
public static boolean

isFinal (int

mod );
public static boolean

isInterface (int

mod );
public static boolean

isNative (int

mod );
public static boolean

isPrivate (int

mod );
public static boolean

isProtected (int

mod );
public static boolean

isPublic (int

mod );
public static boolean

isStatic (int

mod );

1.2 public static boolean

isStrict (int

mod );
public static boolean

isSynchronized (int

mod );
public static boolean

isTransient (int

mod );
public static boolean

isVolatile (int

mod );
public static String

toString (int

mod );
}



    / 1191