9293949596979899100101102
{ DListNode node = first; node = node.next; if(null!=node.next) // not the end { node.delink(); --size; return (TaskData) node.object; } return null; }
156157158159160161162163164165166
node = node.next; PeriodicallyServicable nodeObj = ((TaskData)node.object).obj; if(nodeObj.equals(obj)) { node.delink(); --size; return true; } } return false;