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

ee.sk.digidoc.c14n.FragmentBase_Bounds Maven / Gradle / Ivy

package ee.sk.digidoc.c14n;


public class FragmentBase_Bounds
{
    public int Offset;
    public int Length;


    public FragmentBase_Bounds(int o, int len)
    {
        this.Offset = o;
        this.Length = len;
    }


    public boolean InBounds(int p)
    {

        if ((p < this.Offset))
        {
            return false;
        }

        return (p < (this.Offset + this.Length));
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy