W3cubDocs

/Haxe Python

Set<T>

package python

@:native("set") Available on python

Constructor

new (?iterable:NativeIterable<T>)

new (?array:Array<T>)

Variables

read only length:Int

Methods

add (elem:T ):Void

clear ():Void

copy ():Set<T>

difference (other:Set<T>, others:Rest<Set<T>>):Set<T>

difference_update (other:Set<T>, others:Rest<Set<T>>):Set<T>

discard (elem:T ):Void

inline has (v:T ):Bool

intersection (other:Set<T>, others:Rest<Set<T>>):Set<T>

intersection_update (other:Set<T>, others:Rest<Set<T>>):Set<T>

isdisjoint (other:Set<T>):Bool

issubset (other:Set<T>):Bool

inline issubset_proper (other:Set<T>):Bool

issuperset (other:Set<T>):Bool

inline issuperset_proper (other:Set<T>):Bool

inline iter ():NativeIterator<T>

inline iterator ():Iterator<T>

pop ():T

remove (elem:T ):Void

symmetric_difference (other:Set<T>):Set<T>

symmetric_difference_update (other:Set<T>):Set<T>

union (other:Set<T>, others:Rest<Set<T>>):Set<T>

update (other:Set<T>, others:Rest<Set<T>>):Set<T>

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/python/Set.html