BrightSide Workbench Full Report + Source Code
org.turro.queue.TaskQueue Class Reference
Inheritance diagram for org.turro.queue.TaskQueue:
Collaboration diagram for org.turro.queue.TaskQueue:

Public Member Functions

boolean addAll (Collection<? extends Task > c)
 
boolean offer (Task e)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 29 of file TaskQueue.java.

Member Function Documentation

◆ addAll()

boolean org.turro.queue.TaskQueue.addAll ( Collection<? extends Task c)

Definition at line 32 of file TaskQueue.java.

32  {
33  for(Task e : c) {
34  if(e instanceof AbstractTask) {
35  ((AbstractTask) e).call = new Date();
36  }
37  }
38  return super.addAll(c);
39  }

◆ offer()

boolean org.turro.queue.TaskQueue.offer ( Task  e)

Definition at line 42 of file TaskQueue.java.

42  {
43  if(e instanceof AbstractTask) {
44  ((AbstractTask) e).call = new Date();
45  }
46  return super.offer(e);
47  }

The documentation for this class was generated from the following file: