Packagecom.addicted2flash.util
Classpublic class AbstractLinkedSet
InheritanceAbstractLinkedSet Inheritance AbstractLinkedCollection
ImplementsISet
SubclassesLinkedSet

This class provides a skeletal implementation of the ISet interface for sequential data-structures to minimize the effort required to implement this interface. Concrete implementations of this interface represent collections that contain no duplicate elements and at most one null element.



Public Properties
 PropertyDefined by
 InheritedfirstNode : LinkedNode
return first LinkedNode.
AbstractLinkedCollection
 InheritedlastNode : LinkedNode
return last LinkedNode.
AbstractLinkedCollection
Protected Properties
 PropertyDefined by
 Inherited_first : LinkedNode
AbstractLinkedCollection
 Inherited_last : LinkedNode
AbstractLinkedCollection
 Inherited_length : int
AbstractLinkedCollection
Public Methods
 MethodDefined by
  
Create a new AbstractLinkedSet
AbstractLinkedSet
  
add(o:*):void
Appends the specified element to the end of this list (optional operation).
AbstractLinkedSet
 Inherited
Adds all of the elements in the specified collection to this collection (optional operation).
AbstractLinkedCollection
 Inherited
clear():void
Removes all of the elements from this list (optional operation).
AbstractLinkedCollection
 Inherited
Returns a copy of the ICollection.
AbstractLinkedCollection
 Inherited
contains(o:*):Boolean
Returns true if this list contains the specified element.
AbstractLinkedCollection
 Inherited
Returns true if this collection contains all of the elements in the specified collection.
AbstractLinkedCollection
 Inherited
dispose():void
free memory for garbage collection.
AbstractLinkedCollection
 Inherited
getAt(i:int):*
Returns the element at the specified position in this collection.
AbstractLinkedCollection
 Inherited
return LinkedNode at given index.
AbstractLinkedCollection
 Inherited
isEmpty():Boolean
Returns true if this list contains no elements.
AbstractLinkedCollection
 Inherited
Returns an iterator over the elements in this list.
AbstractLinkedCollection
 Inherited
remove(o:*):Boolean
Removes the first occurrence in this list of the specified element (optional operation).
AbstractLinkedCollection
 Inherited
Removes a single instance of the specified element from this collection, if it is present (optional operation)
AbstractLinkedCollection
 Inherited
remove LinkedNode.
AbstractLinkedCollection
 Inherited
size():int
Returns the number of elements in this list.
AbstractLinkedCollection
 Inherited
toArray():Array
Converts the collection into an array.
AbstractLinkedCollection
Constructor detail
AbstractLinkedSet()constructor
public function AbstractLinkedSet()

Create a new AbstractLinkedSet

Method detail
add()method
public override function add(o:*):void

Appends the specified element to the end of this list (optional operation).

Parameters
o:*