Back to project page AndroidGraph.
The source code is released under:
MIT License
If you think the Android project AndroidGraph listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.nimble.android_graph.Graph_Base; //from w w w. j a v a 2 s . c o m /** * Creainted by Mike on 25/07/2014. */ public class Range2d extends Coord2d<Integer> { // x = min // y = max public int length = 0; public Range2d(int x, int y) { super(x, y); length = y - x; } public Range2d() { super(0, 0); } @Override public void update(Integer x, Integer y) { super.update(x, y); length = y - x; } }