Java Doc for Modifier.java in  » 6.0-JDK-Modules » j2me » java » lang » reflect » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » j2me » java.lang.reflect 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.lang.reflect.Modifier

Modifier
public class Modifier (Code)
The Modifier class provides static methods and constants to decode class and member access modifiers. The sets of modifiers are represented as integers with distinct bit positions representing different modifiers. The values for the constants representing the modifiers are taken from The JavaTM Virtual Machine Specification, Second edition tables 4.1, 4.4, 4.5, and 4.7.
See Also:   Class.getModifiers
See Also:   Member.getModifiers
author:
   Nakul Saraiya


Field Summary
final public static  intABSTRACT
     The int value representing the abstract modifier.
final public static  intFINAL
     The int value representing the final modifier.
final public static  intINTERFACE
     The int value representing the interface modifier.
final public static  intNATIVE
     The int value representing the native modifier.
final public static  intPRIVATE
     The int value representing the private modifier.
final public static  intPROTECTED
     The int value representing the protected modifier.
final public static  intPUBLIC
     The int value representing the public modifier.
final public static  intSTATIC
     The int value representing the static modifier.
final public static  intSTRICT
     The int value representing the strictfp modifier.
final public static  intSYNCHRONIZED
     The int value representing the synchronized modifier.
final public static  intTRANSIENT
     The int value representing the transient modifier.
final public static  intVOLATILE
     The int value representing the volatile modifier.


Method Summary
public static  booleanisAbstract(int mod)
     Return true if the integer argument includes the abstract modifer, false otherwise.
public static  booleanisFinal(int mod)
     Return true if the integer argument includes the final modifer, false otherwise.
public static  booleanisInterface(int mod)
     Return true if the integer argument includes the interface modifer, false otherwise.
public static  booleanisNative(int mod)
     Return true if the integer argument includes the native modifer, false otherwise.
public static  booleanisPrivate(int mod)
     Return true if the integer argument includes the private modifer, false otherwise.
public static  booleanisProtected(int mod)
     Return true if the integer argument includes the protected modifer, false otherwise.
public static  booleanisPublic(int mod)
     Return true if the integer argument includes the public modifer, false otherwise.
public static  booleanisStatic(int mod)
     Return true if the integer argument includes the static modifer, false otherwise.
public static  booleanisStrict(int mod)
     Return true if the integer argument includes the strictfp modifer, false otherwise.
public static  booleanisSynchronized(int mod)
     Return true if the integer argument includes the synchronized modifer, false otherwise.
public static  booleanisTransient(int mod)
     Return true if the integer argument includes the transient modifer, false otherwise.
public static  booleanisVolatile(int mod)
     Return true if the integer argument includes the volatile modifer, false otherwise.
public static  StringtoString(int mod)
     Return a string describing the access modifier flags in the specified modifier.

Field Detail
ABSTRACT
final public static int ABSTRACT(Code)
The int value representing the abstract modifier.



FINAL
final public static int FINAL(Code)
The int value representing the final modifier.



INTERFACE
final public static int INTERFACE(Code)
The int value representing the interface modifier.



NATIVE
final public static int NATIVE(Code)
The int value representing the native modifier.



PRIVATE
final public static int PRIVATE(Code)
The int value representing the private modifier.



PROTECTED
final public static int PROTECTED(Code)
The int value representing the protected modifier.



PUBLIC
final public static int PUBLIC(Code)
The int value representing the public modifier.



STATIC
final public static int STATIC(Code)
The int value representing the static modifier.



STRICT
final public static int STRICT(Code)
The int value representing the strictfp modifier.



SYNCHRONIZED
final public static int SYNCHRONIZED(Code)
The int value representing the synchronized modifier.



TRANSIENT
final public static int TRANSIENT(Code)
The int value representing the transient modifier.



VOLATILE
final public static int VOLATILE(Code)
The int value representing the volatile modifier.





Method Detail
isAbstract
public static boolean isAbstract(int mod)(Code)
Return true if the integer argument includes the abstract modifer, false otherwise.
Parameters:
  mod - a set of modifers true if mod includes theabstract modifier; false otherwise.



isFinal
public static boolean isFinal(int mod)(Code)
Return true if the integer argument includes the final modifer, false otherwise.
Parameters:
  mod - a set of modifers true if mod includes thefinal modifier; false otherwise.



isInterface
public static boolean isInterface(int mod)(Code)
Return true if the integer argument includes the interface modifer, false otherwise.
Parameters:
  mod - a set of modifers true if mod includes theinterface modifier; false otherwise.



isNative
public static boolean isNative(int mod)(Code)
Return true if the integer argument includes the native modifer, false otherwise.
Parameters:
  mod - a set of modifers true if mod includes thenative modifier; false otherwise.



isPrivate
public static boolean isPrivate(int mod)(Code)
Return true if the integer argument includes the private modifer, false otherwise.
Parameters:
  mod - a set of modifers true if mod includes theprivate modifier; false otherwise.



isProtected
public static boolean isProtected(int mod)(Code)
Return true if the integer argument includes the protected modifer, false otherwise.
Parameters:
  mod - a set of modifers true if mod includes theprotected modifier; false otherwise.



isPublic
public static boolean isPublic(int mod)(Code)
Return true if the integer argument includes the public modifer, false otherwise.
Parameters:
  mod - a set of modifers true if mod includes thepublic modifier; false otherwise.



isStatic
public static boolean isStatic(int mod)(Code)
Return true if the integer argument includes the static modifer, false otherwise.
Parameters:
  mod - a set of modifers true if mod includes thestatic modifier; false otherwise.



isStrict
public static boolean isStrict(int mod)(Code)
Return true if the integer argument includes the strictfp modifer, false otherwise.
Parameters:
  mod - a set of modifers true if mod includes thestrictfp modifier; false otherwise.



isSynchronized
public static boolean isSynchronized(int mod)(Code)
Return true if the integer argument includes the synchronized modifer, false otherwise.
Parameters:
  mod - a set of modifers true if mod includes thesynchronized modifier; false otherwise.



isTransient
public static boolean isTransient(int mod)(Code)
Return true if the integer argument includes the transient modifer, false otherwise.
Parameters:
  mod - a set of modifers true if mod includes thetransient modifier; false otherwise.



isVolatile
public static boolean isVolatile(int mod)(Code)
Return true if the integer argument includes the volatile modifer, false otherwise.
Parameters:
  mod - a set of modifers true if mod includes thevolatile modifier; false otherwise.



toString
public static String toString(int mod)(Code)
Return a string describing the access modifier flags in the specified modifier. For example:
 public final synchronized strictfp
 
The modifier names are returned in an order consistent with the suggested modifier orderings given in The Java Language Specification, Second Edition sections §8.1.1, §8.3.1, §8.4.3, §8.8.3, and §9.1.1. The full modifier ordering used by this method is:
public protected private abstract static final transient volatile synchronized native strictfp interface
The interface modifier discussed in this class is not a true modifier in the Java language and it appears after all other modifiers listed by this method. This method may return a string of modifiers that are not valid modifiers of a Java entity; in other words, no checking is done on the possible validity of the combination of modifiers represented by the input.
Parameters:
  mod - a set of modifers a string representation of the set of modifersrepresented by mod



Methods inherited from java.lang.Object
public boolean equals(Object obj)(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.