Packageorg.servebox.commons.collection
Interfacepublic interface ISet extends ICollection, IBasicObject, IIterable
SubinterfacesISortedSet
ImplementorsAbstractSet, HashSet

Classes implementing this interface should not allow to insert duplicate elements to the collection.



Public Methods
 MethodDefined by
 Inherited
add(o:IBasicObject):Boolean
Adds the specified element to the collection.
ICollection
 Inherited
addAll(c:ICollection):Boolean
Adds the specified elements to the collection.
ICollection
 Inherited
clear():void
Empties the collection.
ICollection
 Inherited
Indicates whether the collection contains the specified element.
ICollection
 Inherited
Indicates whether the collection contains the specified elements.
ICollection
 Inherited
equals(value:IBasicObject):Boolean
Object comparison mechanism.
IBasicObject
 Inherited
fromArray(ar:Array):void
Sets the collection content using an Array of elements.
ICollection
 Inherited
hashCode():int
Returns the hashcode of the object.
IBasicObject
 Inherited
isEmpty():Boolean
Indicates whether the collection contains elements.
ICollection
 Inherited
Retrieves an iterator over a set of objects.
IIterable
 Inherited
remove(o:IBasicObject):Boolean
Removes the specified element from the collection.
ICollection
 Inherited
Removes the specified elements from the collection.
ICollection
 Inherited
size():int
The number of elements in the collection.
ICollection
 Inherited
toArray():Array
Retrieves the elements of the collection into an Array instance.
ICollection
 Inherited
toString():String
Returns the string representation of the specified object.
IBasicObject