A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make an io package
[simgrid.git]
/
examples
/
java
/
io
/
file
/
Main.java
diff --git
a/examples/java/io/IO.java
b/examples/java/io/file/Main.java
similarity index 90%
rename from
examples/java/io/IO.java
rename to
examples/java/io/file/Main.java
index
f9de388
..
998f911
100644
(file)
--- a/
examples/java/io/IO.java
+++ b/
examples/java/io/file/Main.java
@@
-4,13
+4,13
@@
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-package io;
+package io
.file
;
import org.simgrid.msg.Msg;
import org.simgrid.msg.Host;
import org.simgrid.msg.MsgException;
import org.simgrid.msg.Msg;
import org.simgrid.msg.Host;
import org.simgrid.msg.MsgException;
-public class
IO
{
+public class
Main
{
public static void main(String[] args) throws MsgException {
Msg.init(args);
if(args.length < 1) {
public static void main(String[] args) throws MsgException {
Msg.init(args);
if(args.length < 1) {
@@
-25,7
+25,7
@@
public class IO {
Msg.info("Number of hosts:" + hosts.length);
for (int i = 0; i < hosts.length && i < 4; i++) {
Msg.info("Number of hosts:" + hosts.length);
for (int i = 0; i < hosts.length && i < 4; i++) {
- new io.Node(hosts[i],i).start();
+ new io.
file.
Node(hosts[i],i).start();
}
Msg.run();
}
Msg.run();