IT. Expert System.

Android Reference

Modifier


java.lang.reflect

Class Modifier

    • Field Summary

      Fields
      Modifier and Type Field and Description
      static int ABSTRACT
      The int value representing the abstract modifier.
      static int FINAL
      The int value representing the final modifier.
      static int INTERFACE
      The int value representing the interface modifier.
      static int NATIVE
      The int value representing the native modifier.
      static int PRIVATE
      The int value representing the private modifier.
      static int PROTECTED
      The int value representing the protected modifier.
      static int PUBLIC
      The int value representing the public modifier.
      static int STATIC
      The int value representing the static modifier.
      static int STRICT
      The int value representing the strict modifier.
      static int SYNCHRONIZED
      The int value representing the synchronized modifier.
      static int TRANSIENT
      The int value representing the transient modifier.
      static int VOLATILE
      The int value representing the volatile modifier.
    • Constructor Summary

      Constructors
      Constructor and Description
      Modifier()
      Constructs a new Modifier instance.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      static int classModifiers()
      Returns a mask of all the modifiers that may be applied to classes.
      static int constructorModifiers()
      Returns a mask of all the modifiers that may be applied to constructors.
      static int fieldModifiers()
      Returns a mask of all the modifiers that may be applied to fields.
      static int interfaceModifiers()
      Returns a mask of all the modifiers that may be applied to interfaces.
      static boolean isAbstract(int modifiers)
      Indicates whether or not the specified modifiers contain the abstract modifier.
      static boolean isFinal(int modifiers)
      Indicates whether or not the specified modifiers contain the final modifier.
      static boolean isInterface(int modifiers)
      Indicates whether or not the specified modifiers contain the interface modifier.
      static boolean isNative(int modifiers)
      Indicates whether or not the specified modifiers contain the native modifier.
      static boolean isPrivate(int modifiers)
      Indicates whether or not the specified modifiers contain the private modifier.
      static boolean isProtected(int modifiers)
      Indicates whether or not the specified modifiers contain the protected modifier.
      static boolean isPublic(int modifiers)
      Indicates whether or not the specified modifiers contain the public modifier.
      static boolean isStatic(int modifiers)
      Indicates whether or not the specified modifiers contain the static modifier.
      static boolean isStrict(int modifiers)
      Indicates whether or not the specified modifiers contain the strict modifier.
      static boolean isSynchronized(int modifiers)
      Indicates whether or not the specified modifiers contain the synchronized modifier.
      static boolean isTransient(int modifiers)
      Indicates whether or not the specified modifiers contain the transient modifier.
      static boolean isVolatile(int modifiers)
      Indicates whether or not the specified modifiers contain the volatile modifier.
      static int methodModifiers()
      Returns a mask of all the modifiers that may be applied to methods.
      static String toString(int modifiers)
      Returns a string containing the string representation of all modifiers present in the specified modifiers.
    • Field Detail

      • PUBLIC

        public static final int PUBLIC
        The int value representing the public modifier.
        See Also:
        Constant Field Values
      • PRIVATE

        public static final int PRIVATE
        The int value representing the private modifier.
        See Also:
        Constant Field Values
      • PROTECTED

        public static final int PROTECTED
        The int value representing the protected modifier.
        See Also:
        Constant Field Values
      • STATIC

        public static final int STATIC
        The int value representing the static modifier.
        See Also:
        Constant Field Values
      • FINAL

        public static final int FINAL
        The int value representing the final modifier.
        See Also:
        Constant Field Values
      • SYNCHRONIZED

        public static final int SYNCHRONIZED
        The int value representing the synchronized modifier.
        See Also:
        Constant Field Values
      • VOLATILE

        public static final int VOLATILE
        The int value representing the volatile modifier.
        See Also:
        Constant Field Values
      • TRANSIENT

        public static final int TRANSIENT
        The int value representing the transient modifier.
        See Also:
        Constant Field Values
      • NATIVE

        public static final int NATIVE
        The int value representing the native modifier.
        See Also:
        Constant Field Values
      • INTERFACE

        public static final int INTERFACE
        The int value representing the interface modifier.
        See Also:
        Constant Field Values
      • ABSTRACT

        public static final int ABSTRACT
        The int value representing the abstract modifier.
        See Also:
        Constant Field Values
      • STRICT

        public static final int STRICT
        The int value representing the strict modifier.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Modifier

        public Modifier()
        Constructs a new Modifier instance.
    • Method Detail

      • classModifiers

        public static int classModifiers()
        Returns a mask of all the modifiers that may be applied to classes.
        Since:
        1.7
      • constructorModifiers

        public static int constructorModifiers()
        Returns a mask of all the modifiers that may be applied to constructors.
        Since:
        1.7
      • fieldModifiers

        public static int fieldModifiers()
        Returns a mask of all the modifiers that may be applied to fields.
        Since:
        1.7
      • interfaceModifiers

        public static int interfaceModifiers()
        Returns a mask of all the modifiers that may be applied to interfaces.
        Since:
        1.7
      • methodModifiers

        public static int methodModifiers()
        Returns a mask of all the modifiers that may be applied to methods.
        Since:
        1.7
      • isAbstract

        public static boolean isAbstract(int modifiers)
        Indicates whether or not the specified modifiers contain the abstract modifier.
        Parameters:
        modifiers - the modifiers to test
        Returns:
        true if the specified modifiers contain the abstract modifier, false otherwise
      • isFinal

        public static boolean isFinal(int modifiers)
        Indicates whether or not the specified modifiers contain the final modifier.
        Parameters:
        modifiers - the modifiers to test
        Returns:
        true if the specified modifiers contain the final modifier, false otherwise
      • isInterface

        public static boolean isInterface(int modifiers)
        Indicates whether or not the specified modifiers contain the interface modifier.
        Parameters:
        modifiers - the modifiers to test
        Returns:
        true if the specified modifiers contain the interface modifier, false otherwise
      • isNative

        public static boolean isNative(int modifiers)
        Indicates whether or not the specified modifiers contain the native modifier.
        Parameters:
        modifiers - the modifiers to test
        Returns:
        true if the specified modifiers contain the native modifier, false otherwise
      • isPrivate

        public static boolean isPrivate(int modifiers)
        Indicates whether or not the specified modifiers contain the private modifier.
        Parameters:
        modifiers - the modifiers to test
        Returns:
        true if the specified modifiers contain the private modifier, false otherwise
      • isProtected

        public static boolean isProtected(int modifiers)
        Indicates whether or not the specified modifiers contain the protected modifier.
        Parameters:
        modifiers - the modifiers to test
        Returns:
        true if the specified modifiers contain the protected modifier, false otherwise
      • isPublic

        public static boolean isPublic(int modifiers)
        Indicates whether or not the specified modifiers contain the public modifier.
        Parameters:
        modifiers - the modifiers to test
        Returns:
        true if the specified modifiers contain the public modifier, false otherwise
      • isStatic

        public static boolean isStatic(int modifiers)
        Indicates whether or not the specified modifiers contain the static modifier.
        Parameters:
        modifiers - the modifiers to test
        Returns:
        true if the specified modifiers contain the static modifier, false otherwise
      • isStrict

        public static boolean isStrict(int modifiers)
        Indicates whether or not the specified modifiers contain the strict modifier.
        Parameters:
        modifiers - the modifiers to test
        Returns:
        true if the specified modifiers contain the strict modifier, false otherwise
      • isSynchronized

        public static boolean isSynchronized(int modifiers)
        Indicates whether or not the specified modifiers contain the synchronized modifier.
        Parameters:
        modifiers - the modifiers to test
        Returns:
        true if the specified modifiers contain the synchronized modifier, false otherwise
      • isTransient

        public static boolean isTransient(int modifiers)
        Indicates whether or not the specified modifiers contain the transient modifier.
        Parameters:
        modifiers - the modifiers to test
        Returns:
        true if the specified modifiers contain the transient modifier, false otherwise
      • isVolatile

        public static boolean isVolatile(int modifiers)
        Indicates whether or not the specified modifiers contain the volatile modifier.
        Parameters:
        modifiers - the modifiers to test
        Returns:
        true if the specified modifiers contain the volatile modifier, false otherwise
      • toString

        public static String toString(int modifiers)
        Returns a string containing the string representation of all modifiers present in the specified modifiers. Modifiers appear in the order specified by the Java Language Specification: public private protected abstract static final transient volatile native synchronized interface strict
        Parameters:
        modifiers - the modifiers to print
        Returns:
        a printable representation of the modifiers


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 15826 / 248376470. Delta: 0.01911 с