
internal.uihelpers.DiscreteDisplayDomain Maven / Gradle / Ivy
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package internal.uihelpers;
/**
*
* @author Jean Palate
*/
public class DiscreteDisplayDomain {
public DiscreteDisplayDomain(int beg, int end)
{
this.beg=beg;
this.end=end;
}
public final int beg, end;
public int x(int i)
{
return beg+i;
}
public int getLength()
{
return end-beg+1;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy