IT. Expert System.

Android Reference

ParameterizedType


java.lang.reflect

Interface ParameterizedType

  • All Superinterfaces:
    Type
    All Known Implementing Classes:
    ImplForType


    public interface ParameterizedType
    extends Type
    This interface represents a parameterized type such as 'Set<String>'.
    Since:
    1.5
    • Method Summary

      Methods
      Modifier and Type Method and Description
      Type[] getActualTypeArguments()
      Returns an array of the actual type arguments for this type.
      Type getOwnerType()
      Returns the parent / owner type, if this type is an inner type, otherwise null is returned if this is a top-level type.
      Type getRawType()
      Returns the declaring type of this parameterized type.
    • Method Detail

      • getActualTypeArguments

        Type[] getActualTypeArguments()
        Returns an array of the actual type arguments for this type.

        If this type models a non parameterized type nested within a parameterized type, this method returns a zero length array. The generic type of the following field declaration is an example for a parameterized type without type arguments.

         A<String>.B field;
        
         class A<T> {
             class B {
             }
         }
        Returns:
        the actual type arguments
        Throws:
        TypeNotPresentException - if one of the type arguments cannot be found
        MalformedParameterizedTypeException - if one of the type arguments cannot be instantiated for some reason
      • getOwnerType

        Type getOwnerType()
        Returns the parent / owner type, if this type is an inner type, otherwise null is returned if this is a top-level type.
        Returns:
        the owner type or null if this is a top-level type
        Throws:
        TypeNotPresentException - if one of the type arguments cannot be found
        MalformedParameterizedTypeException - if the owner type cannot be instantiated for some reason
      • getRawType

        Type getRawType()
        Returns the declaring type of this parameterized type.

        The raw type of Set<String> field; is Set.

        Returns:
        the raw type of this parameterized type


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: 1263 / 248361869. Delta: 0.01325 с