See JavaCollections.