X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/05faa61eee4ea71225b78d004f67f73a7269ab7b..895710d49f77179d9893bc76b3e31b69fae638af:/src/bindings/java/org/simgrid/msg/As.java diff --git a/src/bindings/java/org/simgrid/msg/As.java b/src/bindings/java/org/simgrid/msg/As.java index 9e62f4f48b..6a297e2989 100644 --- a/src/bindings/java/org/simgrid/msg/As.java +++ b/src/bindings/java/org/simgrid/msg/As.java @@ -1,36 +1,30 @@ -/* - * Bindings to the MSG hosts - * - * Copyright 2006-2012 The SimGrid Team - * All right reserved. - * - * 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. - * - */ +/* Copyright (c) 2006-2018. The SimGrid Team. + * All rights reserved. */ + +/* 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 org.simgrid.msg; public class As { - private long bind; - - protected As() { - }; + private long bind; - - public long getBind() { return bind; } + protected As() {} + + @Override + public String toString (){ + return this.getName(); + } + public native String getName(); - public String toString (){ - return this.getName(); - } - public native String getName(); + public native As[] getSons(); - public native As[] getSons(); + public native String getProperty(String name); - public native String getProperty(String name); + public native Host[] getHosts(); - /** + /** * Class initializer, to initialize various JNI stuff */ public static native void nativeInit();