站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v6.0, Java 2 SDK 英文文档

Uses of Interface javax.lang.model.type.PrimitiveType (Java Platform SE 6) - JDK 5 Documentation v6.0, Java 2 SDK 英文文档


Java™ Platform
Standard Ed. 6

Uses of Interface
javax.lang.model.type.PrimitiveType

Packages that use PrimitiveType
javax.lang.model.type Interfaces used to model Java programming language types. 
javax.lang.model.util Utilities to assist in the processing of program elements and types
 

Uses of PrimitiveType in javax.lang.model.type
 

Methods in javax.lang.model.type with parameters of type PrimitiveType
 R TypeVisitor.visitPrimitive(PrimitiveType t, P p)
          Visits a primitive type.
 

Uses of PrimitiveType in javax.lang.model.util
 

Methods in javax.lang.model.util that return PrimitiveType
 PrimitiveType Types.getPrimitiveType(TypeKind kind)
          Returns a primitive type.
 PrimitiveType Types.unboxedType(TypeMirror t)
          Returns the type (a primitive type) of unboxed values of a given type.
 

Methods in javax.lang.model.util with parameters of type PrimitiveType
 TypeElement Types.boxedClass(PrimitiveType p)
          Returns the class of a boxed value of a given primitive type.
 R TypeKindVisitor6.visitPrimitive(PrimitiveType t, P p)
          Visits a primitive type, dispatching to the visit method for the specific kind of primitive type: BOOLEAN, BYTE, etc.
 R SimpleTypeVisitor6.visitPrimitive(PrimitiveType t, P p)
          Visits a primitive type.
 R TypeKindVisitor6.visitPrimitiveAsBoolean(PrimitiveType t, P p)
          Visits a BOOLEAN primitive type by calling defaultAction.
 R TypeKindVisitor6.visitPrimitiveAsByte(PrimitiveType t, P p)
          Visits a BYTE primitive type by calling defaultAction.
 R TypeKindVisitor6.visitPrimitiveAsChar(PrimitiveType t, P p)
          Visits a CHAR primitive type by calling defaultAction.
 R TypeKindVisitor6.visitPrimitiveAsDouble(PrimitiveType t, P p)
          Visits a DOUBLE primitive type by calling defaultAction.
 R TypeKindVisitor6.visitPrimitiveAsFloat(PrimitiveType t, P p)
          Visits a FLOAT primitive type by calling defaultAction.
 R TypeKindVisitor6.visitPrimitiveAsInt(PrimitiveType t, P p)
          Visits an INT primitive type by calling defaultAction.
 R TypeKindVisitor6.visitPrimitiveAsLong(PrimitiveType t, P p)
          Visits a LONG primitive type by calling defaultAction.
 R TypeKindVisitor6.visitPrimitiveAsShort(PrimitiveType t, P p)
          Visits a SHORT primitive type by calling defaultAction.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.