| Package | system.data.sets |
| Class | public class ArraySet |
| Inheritance | ArraySet CoreSet ArrayCollection Object |
| Implements | Set |
| Method | Defined By | ||
|---|---|---|---|
ArraySet(init:* = null)
Creates a new ArraySet instance. | ArraySet | ||
![]() | add(o:*):Boolean [override]
Adds the specified element to this set if it is not already present. | CoreSet | |
![]() | addAll(c:Collection):Boolean
Appends all of the elements in the specified collection to the end of this Collection, in the order that they are returned by the specified collection's iterator (optional operation). | ArrayCollection | |
![]() | clear():void [override]
Removes all of the elements from this Set (optional operation). | CoreSet | |
clone():* [override]
Returns a shallow copy of this Set (optional operation). | ArraySet | ||
![]() | contains(o:*):Boolean [override]
Returns true if this Set contains the specified element. | CoreSet | |
![]() | containsAll(c:Collection):Boolean
Returns true if this collection contains all of the elements of the specified collection. | ArrayCollection | |
![]() | equals(o:*):Boolean
Compares the specified object with this object for equality. | ArrayCollection | |
![]() | get(key:*):* [override]
Returns the element from this collection at the passed key index. | CoreSet | |
![]() | indexOf(o:*, fromIndex:uint = 0):int [override]
Returns the index of an element in the collection. | CoreSet | |
![]() | isEmpty():Boolean [override]
Returns true if this set contains no elements. | CoreSet | |
![]() | [override]
Returns an iterator over the elements in this Set. | CoreSet | |
![]() | remove(o:*):* [override]
Removes the specified element from this set if it is present. | CoreSet | |
![]() | removeAll(c:Collection):Boolean
Removes from this Collection all the elements that are contained in the specified Collection (optional operation). | ArrayCollection | |
![]() | retainAll(c:Collection):Boolean
Retains only the elements in this Collection that are contained in the specified Collection (optional operation). | ArrayCollection | |
![]() | size():uint [override]
Returns the number of elements in this set (its cardinality). | CoreSet | |
![]() | toArray():Array [override]
Returns the array representation of all the elements of this Set. | CoreSet | |
![]() | toSource(indent:int = 0):String
Returns the source code string representation of the object. | ArrayCollection | |
![]() | toString():String
Returns the string representation of this instance. | ArrayCollection | |
| ArraySet | () | Constructor |
public function ArraySet(init:* = null)Creates a new ArraySet instance.
You can use an optional parameter in this constructor with different type : an Array or a Collection instance to fill the Set object.
Parametersinit:* (default = null) — An optional Array or Iterable object to fill the collection.
|
| clone | () | method |
override public function clone():*Returns a shallow copy of this Set (optional operation).
Returns* — a shallow copy of this Set (optional operation).
|