C# Class VolunteerQueue.VolunteerQueue

Show file Open project: ThomasMoreCollege/CinderellaMGS Class Usage Examples

Public Methods

Method Description
VolunteerQueue ( ) : System
clear ( ) : void
dequeue ( ) : void
enqueue ( VolunteerClass val ) : void
enqueueToFront ( VolunteerClass vol ) : void
getNumItems ( ) : int
getValofFrontNode ( ) : VolunteerClass
getValofLastNode ( ) : VolunteerClass
isEmpty ( ) : bool
selectiveDequeue ( int VolID ) : bool

Method Details

VolunteerQueue() public method

public VolunteerQueue ( ) : System
return System

clear() public method

public clear ( ) : void
return void

dequeue() public method

public dequeue ( ) : void
return void

enqueue() public method

public enqueue ( VolunteerClass val ) : void
val VolunteerClass
return void

enqueueToFront() public method

public enqueueToFront ( VolunteerClass vol ) : void
vol VolunteerClass
return void

getNumItems() public method

public getNumItems ( ) : int
return int

getValofFrontNode() public method

public getValofFrontNode ( ) : VolunteerClass
return VolunteerClass

getValofLastNode() public method

public getValofLastNode ( ) : VolunteerClass
return VolunteerClass

isEmpty() public method

public isEmpty ( ) : bool
return bool

selectiveDequeue() public method

public selectiveDequeue ( int VolID ) : bool
VolID int
return bool