The mapping between the Java java.lang package and the corresponding .NET types is provided in Table F-5. For details of these .NET types, consult the following chapters wherever relevant:
Table F-5. The Java to .NET Mapping for the java.lang Package
Java | .NET |
---|---|
Boolean | System.Boolean |
Byte | System.Byte |
Character | System.Char |
Class | System.Type |
ClassLoader | N/A |
Compiler | N/A |
Double | System.Double |
Float | System.Single |
InheritableThreadLocal | N/A |
Integer | System.Int32 |
Long | System.Int64 |
Math | System.Math |
Number | N/A |
Object | System.Object |
Package | N/A |
Process | System.Diagnostics.Process |
Runtime | System.Diagnostics.Process |
SecurityManager | N/A |
Short | System.Int16 |
StackTraceElement | N/A |
StrictMath | System.Math |
String | System.String |
StringBuffer | System.Text.StringBuilder |
System | N/A |
Thread | System.Threading.Thread |
ThreadGroup | N/A |
ThreadLocal | System.LocalDataStoreSlot |
Throwable | System.Exception |
Void | System.Void |