A.2. The java.util Package
This package contains the collection classes. Collection classes are handy data structures that make it easy to store application data. In addition to the collection classes, this package contains utility classes such as Properties, Locale, StringTokenizer, and so on. Table A.4 shows the classes in this package and their .NET counterparts.
Java | .NET |
---|---|
AbstractCollection | System.Collections.CollectionsBase |
ArrayList | System.Collections.ArrayList |
Arrays | System.Array |
BitSet | System.Collections.BitArray |
Calendar | System.Globalization.Calendar |
Currency | System.Globalization.RegionInfo |
Date | System.DateTime |
Dictionary | System.Collections.DictionaryBase |
EventObject | System.EventArgs |
Get .NET for Java Developers: Migrating to C# now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.