4 * Copyright 2006,2007,2010 The SimGrid Team. All rights reserved.
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the license (GNU LGPL) which comes with this package.
12 public class MyTask extends Task {
14 private double timeVal;
16 public MyTask(String name, double computeDuration, double messageSize) throws JniException, NativeException{
17 super(name,computeDuration,messageSize);
20 public void setTime(double timeVal){
21 this.timeVal = timeVal;
24 public double getTime() {