The java.util Package
The mapping between the Java java.util package and the corresponding .NET types is provided in Table F-12. See Chapter 9, for details of these .NET types.
Table F-12. The Java to .NET Mapping for the java.util Package
Java | .NET |
|---|---|
AbstractCollection | System.Collections.CollectionsBase |
AbstractList | N/A |
AbstractMap | N/A |
AbstractSequentialList | N/A |
AbstractSet | N/A |
ArrayList | System.Collections.ArrayList |
Arrays | System.Array |
BitSet | N/A |
Calendar | System.Globalization.Calendar |
Collections | N/A |
Currency | System.Globalization.RegionInfo |
Date | System.DateTime |
Dictionary | System.Collections.DictionaryBase |
EventListenerProxy | N/A |
EventObject | System.EventArgs |
GregorianCalendar | System.Globalization.GregorianCalendar |
HashMap | System.Collections.Hashtable |
HashSet | N/A |
Hashtable | System.Collections.Hashtable ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access