Packagecom.yworks.bridge.util
Interfacepublic interface Set extends Collection
Implementors AbstractSet, HashSet

Set is a collection which does not allow duplicate elements.



Public Properties
 PropertyDefined By
 Inheritedempty : Boolean
[read-only] Answers if this Collection has no elements, a size of zero.
Collection
 Inheritedlength : int
[read-only] Returns a count of how many objects are contained by this collection.
Collection
Public Methods
 MethodDefined By
 Inherited
addAll(collection:Collection):Boolean
Attempts to add all of the objects contained in collection to the contents of this collection.
Collection
 Inherited
addItem(object:Object):Boolean
Attempts to add object to the contents of this Collection.
Collection
 Inherited
clear():void
Removes all elements from this Collection, leaving it empty.
Collection
 Inherited
containsAll(collection:Collection):Boolean
Searches this Collection for all objects in the specified Collection.
Collection
 Inherited
containsItem(object:Object):Boolean
Searches this Collection for the specified object.
Collection
 Inherited
Returns an instance of com.yworks.bridge.util.Iterator that may be used to access the objects contained by this collection.
Collection
 Inherited
removeAll(collection:Collection):Boolean
Removes all occurrences in this Collection of each object in the specified Collection.
Collection
 Inherited
removeItem(object:Object):Boolean
Removes the first occurrence of the specified object from this Collection.
Collection
 Inherited
retainAll(collection:Collection):Boolean
Removes all objects from this Collection that are not also found in the contents of collection.
Collection
 Inherited
toArray():Vector.<Object>
Answers a new array containing all elements contained in this Collection.
Collection
 Inherited
toArray2(array:Vector.<Object>):Vector.<Object>
Answers an array containing all elements contained in this Collection.
Collection