import java.util.Vector;
-public class ListeTask implements java.io.Serializable, java.lang.Cloneable {
-
- private static final long serialVersionUID = 1L;
+public class ListeTask implements java.io.Serializable, java.lang.Cloneable
+{
+ private static final long serialVersionUID = 1L ;
// attributes
- protected Vector<TaskId> liste = new Vector<TaskId>();
- protected TaskId task;
+ protected Vector<TaskId> liste = new Vector<TaskId>() ;
+ protected TaskId task ;
// constructor
- public ListeTask() {
- };
+ public ListeTask() {}
@SuppressWarnings("unchecked")
public synchronized ListeTask clone() {
if (is != -1) {
return (TaskId) liste.get(is);
} else {
- System.out
- .println("There is no task affected to this host stub !!!!! ");
+ System.err
+ .println("There is no task affected to this host stub !");
return null;
}
}
if (is != -1) {
return (TaskId) liste.get(is);
} else {
- System.out.println("TaskId of rank=" + rank + " doesn't exist");
+ System.err.println("TaskId of rank=" + rank + " doesn't exist");
viewAll();
return null;
}