org.jgroups.demos.wb.Node Maven / Gradle / Ivy
Go to download
This artifact provides a single jar that contains all classes required to use remote Jakarta Enterprise Beans and Jakarta Messaging, including
all dependencies. It is intended for use by those not using maven, maven users should just import the Jakarta Enterprise Beans and
Jakarta Messaging BOM's instead (shaded JAR's cause lots of problems with maven, as it is very easy to inadvertently end up
with different versions on classes on the class path).
package org.jgroups.demos.wb;
import org.jgroups.Address;
public class Node implements java.io.Serializable {
public double x, y, dx, dy;
public boolean fixed;
public String lbl=null;
public Address addr=null;
public int xloc=0, yloc=0;
public int width=0;
public int height=0;
public String toString() {
StringBuilder ret=new StringBuilder();
ret.append("name=" + lbl + ", addr=" + addr + " at " + x + ',' + y);
return ret.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy