Womb.Gtk : Womb.Gtk Namespace
CircularList

A circular list container

public sealed class CircularList : IEnumerator


Remarks
This container provides a circular implementation of a ArrayList and provides a never-ending iteration over its contents. It wraps itself to the beginning when the last element is reached, and is used by widgets to hold search results.

Note:

Because this is an infinite iteration container, you cannot use foreach on it. If you do, you will go into an endless loop.

Members

See Also: Inherited members from object.

Constructors
Creates a new empty Womb.Gtk.CircularList
Creates a new circular list from the contents of a ArrayList
Properties
Current [read-only]
object . To be added.
Methods
Add (object)
To be added.
GetEnumerator () : IEnumerator
To be added.
MoveNext () : bool
To be added.
Reset ()
To be added.
Member Details
CircularList Constructor
public CircularList ()

Creates a new empty Womb.Gtk.CircularList

Remarks
To be added.

CircularList Constructor
public CircularList (ArrayList list)

Creates a new circular list from the contents of a ArrayList

Parameters
list
A ArrayList
Remarks
To be added.

Add
public void Add (object obj)

To be added.

Parameters
obj
To be added.
Remarks
To be added.

GetEnumerator
public IEnumerator GetEnumerator ()

To be added.

Returns
To be added.
Remarks
To be added.

MoveNext
public bool MoveNext ()

To be added.

Returns
To be added.
Remarks
To be added.

Reset
public void Reset ()

To be added.

Remarks
To be added.

Current
public object Current { get; }

To be added.

Value
To be added.
Remarks
To be added.