minus

operator fun <Type> GdxArray<Type>.minus(element: Type): GdxArray<Type>

Allows to remove elements from arrays with array - element syntax.

Return

a new GdxArray with removed element.

Parameters

element

will not be copied to the new array.


operator fun <Type> GdxArray<Type>.minus(elements: Iterable<Type>): GdxArray<Type>

Allows to quickly remove all elements of another iterable from this array with - operator syntax.

Return

a new GdxArray with removed elements.

Parameters

elements

will not be copied to the new array.


operator fun <Type> GdxArray<Type>.minus(elements: Array<out Type>): GdxArray<Type>

Allows to quickly remove all elements of a native array from this array with -= operator syntax.

Return

a new GdxArray with removed elements.

Parameters

elements

will not be copied to the new array.


operator fun <Type> GdxSet<Type>.minus(element: Type): GdxSet<Type>

Allows to remove elements from sets with set - element syntax.

Return

a new GdxSet with elements from this set except for the element.

Parameters

element

will not be added to the new set.


operator fun <Type> GdxSet<Type>.minus(elements: Iterable<Type>): GdxSet<Type>

Allows to remove all elements of another iterable from this set with - operator syntax.

Return

a new GdxSet with elements from this set except for the elements.

Parameters

elements

will not be added to the new set.


operator fun <Type> GdxSet<Type>.minus(elements: Array<out Type>): GdxSet<Type>

Allows to remove all elements of an array from this set with - operator syntax.

Return

a new GdxSet with elements from this set except for the elements.

Parameters

elements

will not be added to the new set.