numberOfOpenSessions method
Implementation
int numberOfOpenSessions()
{
var n = 0;
for (var i = 0; i < _slots.length; ++i)
{
if (_slots[i] != null)
{
++n;
}
}
return n;
}
int numberOfOpenSessions()
{
var n = 0;
for (var i = 0; i < _slots.length; ++i)
{
if (_slots[i] != null)
{
++n;
}
}
return n;
}