IList_DG Interface
A standalone list can be created with a IObjectGenerator_DG.Create("IList_DG") call.
- GetCount
- GetAt
- SetAt
- GetHeadPosition
- GetTailPosition
- GetNext
- GetPrev
- AddHead
- AddTail
- GetHead
- GetTail
- RemoveAt
- Clear
- InsertBefore
- InsertAfter
- IsEmpty
POSN GetCount()
Object GetAt(POSN position)
void SetAt(POSN position, Object item)
POSN GetHeadPosition()
POSN GetTailPosition()
void GetNext(POSN position)
Returns the object at the position and advances position to the next item or sets it to null
void GetPrev(POSN position)
Returns the object at the position and shifts position to the previous item or sets it to null
POSN AddHead(Object item)
POSN AddTail(Object item)
Object GetHead()
Object GetTail()
void RemoveAt(POSN position)
void Clear()
POSN InsertBefore(POSN position, Object item)
Returns position of the inserted item.
POSN InsertAfter(POSN position, Object item)
Returns position of the inserted item.
bool IsEmpty()
|