All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sourceforge.plantuml.elk.proxy.graph.ElkBendPoint Maven / Gradle / Ivy

There is a newer version: 1.2024.8
Show newest version
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.elk.proxy.graph;

import java.util.Objects;

import net.sourceforge.plantuml.elk.proxy.Reflect;

public class ElkBendPoint {

	public final Object obj;

	public ElkBendPoint(Object obj) {
		this.obj = Objects.requireNonNull(obj);
	}

	@Override
	public int hashCode() {
		return this.obj.hashCode();
	}

	@Override
	public boolean equals(Object other) {
		return this.obj.equals(((ElkBendPoint) other).obj);
	}

	public double getX() {
		return (Double) Reflect.call(obj, "getX");
	}

	public double getY() {
		return (Double) Reflect.call(obj, "getY");
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy