subtract

infix fun ByteBuffer.subtract(other: Iterable<Byte>): Set<Byte>
infix fun ShortBuffer.subtract(other: Iterable<Short>): Set<Short>
infix fun IntBuffer.subtract(other: Iterable<Int>): Set<Int>
infix fun LongBuffer.subtract(other: Iterable<Long>): Set<Long>
infix fun FloatBuffer.subtract(other: Iterable<Float>): Set<Float>
infix fun DoubleBuffer.subtract(other: Iterable<Double>): Set<Double>
infix fun CharBuffer.subtract(other: Iterable<Char>): Set<Char>

Returns a set containing all elements that are contained by this array and not contained by the specified collection. The returned set preserves the element iteration order of the original array.