net.sourceforge.plantuml.real.RealUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.real;
import java.util.Arrays;
import java.util.Collection;
public class RealUtils {
public static RealOrigin createOrigin() {
final RealLine line = new RealLine();
final RealImpl result = new RealImpl("O", line, 0);
return result;
}
public static Real middle(Real r1, Real r2) {
return new RealMiddle2((RealMoveable) r1, (RealMoveable) r2);
}
public static Real max(Real... reals) {
return new RealMax(Arrays.asList(reals));
}
public static Real max(Collection reals) {
return new RealMax(reals);
}
public static Real min(Real... reals) {
return new RealMin(Arrays.asList(reals));
}
public static Real min(Collection reals) {
return new RealMin(reals);
}
}