de.invation.code.toval.graphic.diagrams.models.ChartModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of TOVAL Show documentation
Show all versions of TOVAL Show documentation
TOVAL comprises a set of java classes for common programming issues. It includes utils for arrays, lists, sets and collections for convenient handling and modification, but also support for mathematic definitions concerning logic (clauses + resolution) together with some algorithms for permutations, powersets and resolution. Additionally it contains a number of types for multisets, matrices with object keys and much more.
The newest version!
package de.invation.code.toval.graphic.diagrams.models;
import de.invation.code.toval.types.StatList;
public interface ChartModel,T extends Number & Comparable super T>> {
/**
* Returns the number of values maintained for the given dimension.
* @return The number of values maintained for the given dimension
*/
public int getValueCount(ValueDimension dim);
/**
* Returns the maintained values for the given dimension.
* @param dim Reference dimension
* @return Maintained values for the given dimension
*/
public StatList> getValues(ValueDimension dim);
/**
* Returns the value with the given index of the given dimension.
* @param dim Reference dimension for value extraction
* @param index Index of the desired value
* @return Value with the given index of the given dimension
*/
public Number getValue(ValueDimension dim, int index);
/**
* enumeration type for value dimensions used in diagram panels.
* @author Thomas Stocker
*/
public enum ValueDimension {X,Y}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy