net.finmath.plots.Category2D Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finmath-lib-plot-extensions Show documentation
Show all versions of finmath-lib-plot-extensions Show documentation
finmath lib plot extensions provide convenient
plotting methods by providing consistent wrappers
to plot libraries (like JFreeChart or JavaFX).
The newest version!
/*
* (c) Copyright Christian P. Fries, Germany. Contact: [email protected].
*
* Created on 21 May 2018
*/
package net.finmath.plots;
/**
* A 2D category, i.e., Key-Value pair, where Key is a String ID and value is a Number.
*
* @author Christian Fries
*/
public class Category2D {
private final String name;
private final Number value;
public Category2D(final String name, final Number value) {
this.name = name;
this.value = value;
}
public String getName() {
return name;
}
public Number getValue() {
return value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy