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.

Table A.4. The java.util Package Classes and Their .NET Counterparts
Java.NET
AbstractCollectionSystem.Collections.CollectionsBase
ArrayListSystem.Collections.ArrayList
ArraysSystem.Array
BitSetSystem.Collections.BitArray
CalendarSystem.Globalization.Calendar
CurrencySystem.Globalization.RegionInfo
DateSystem.DateTime
DictionarySystem.Collections.DictionaryBase
EventObjectSystem.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.