newHashSet

fun <E> newHashSet(size: Int): MutableSet<E>

Returns a new HashSet sized to contain size items without resizing the internal array.