C# Class Axiom.Math.Collections.BaseCollection

Serves as a basis for strongly typed collections in the math lib.
Can't wait for Generics in .Net Framework 2.0!
Inheritance: ICollection, IEnumerable, IEnumerator
Datei anzeigen Open project: WolfgangSt/axiom

Protected Properties

Property Type Description
objectList System.Collections.ArrayList

Public Methods

Method Description
BaseCollection ( ) : System

Clear ( ) : void

Clears all objects from the collection.

CopyTo ( System array, int index ) : void

GetEnumerator ( ) : System.Collections.IEnumerator
MoveNext ( ) : bool

Moves to the next item in the enumeration if there is one.

Remove ( object item ) : void

Removes the item from the collection.

Reset ( ) : void

Resets the in progress enumerator.

this ( int index ) : object

Protected Methods

Method Description
Add ( object item ) : void

Adds an item to the collection.

Method Details

Add() protected method

Adds an item to the collection.
protected Add ( object item ) : void
item object
return void

BaseCollection() public method

public BaseCollection ( ) : System
return System

Clear() public method

Clears all objects from the collection.
public Clear ( ) : void
return void

CopyTo() public method

public CopyTo ( System array, int index ) : void
array System
index int
return void

GetEnumerator() public method

public GetEnumerator ( ) : System.Collections.IEnumerator
return System.Collections.IEnumerator

MoveNext() public method

Moves to the next item in the enumeration if there is one.
public MoveNext ( ) : bool
return bool

Remove() public method

Removes the item from the collection.
public Remove ( object item ) : void
item object
return void

Reset() public method

Resets the in progress enumerator.
public Reset ( ) : void
return void

this() public method

public this ( int index ) : object
index int
return object

Property Details

objectList protected_oe property

protected ArrayList,System.Collections objectList
return System.Collections.ArrayList