Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse JDT
Release 3.5

com.sun.mirror.type
Interface TypeMirror

All Known Subinterfaces:
AnnotationType, ArrayType, ClassType, DeclaredType, EnumType, InterfaceType, PrimitiveType, ReferenceType, TypeVariable, VoidType, WildcardType

public interface TypeMirror

Represents a type in the Java programming language. Types include primitive types, class and interface types, array types, and type variables. Wildcard type arguments, and the pseudo-type representing the type of void, are represented by type mirrors as well.

Types may be compared using the utility methods in Types. There is no guarantee that any particular type will always be represented by the same object.

Since:
1.5
See Also:
Declaration, Types

Method Summary
 void accept ( TypeVisitor v)
          Applies a visitor to this type.
 boolean equals ( Object obj)
          Tests whether two types represent the same type.
  String toString ()
          Returns a string representation of this type.
 

Method Detail

toString

String toString()
Returns a string representation of this type. Any names embedded in the expression are qualified.

Overrides:
toString in class Object
Returns:
a string representation of this type

equals

boolean equals(
Object obj)
Tests whether two types represent the same type.

Overrides:
equals in class Object
Parameters:
obj - the object to be compared with this type
Returns:
true if the specified object represents the same type as this.

accept

void accept(
TypeVisitor v)
Applies a visitor to this type.

Parameters:
v - the visitor operating on this type

Eclipse JDT
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire