gdxSetOf
fun <Type> gdxSetOf(initialCapacity: Int = defaultSetSize, loadFactor: Float = defaultLoadFactor): GdxSet<Type>
Return
a new ObjectSet.
Parameters
initialCapacity
initial capacity of the set. Will be resized if necessary.
loadFactor
decides under what load the set is resized.
inline fun <Type> gdxSetOf(vararg elements: Type, initialCapacity: Int = defaultSetSize, loadFactor: Float = defaultLoadFactor): GdxSet<Type>
Return
a new ObjectSet.
Parameters
elements
will be initially stored in the set.
initialCapacity
initial capacity of the set. Will be resized if necessary.
loadFactor
decides under what load the set is resized.