public class RunLength extends Object implements Comparable<RunLength>
| 构造器和说明 |
|---|
RunLength(int y,
int x,
int count)
Construct a RunLength
|
public RunLength(int y,
int x,
int count)
y - the y coordinatex - the x coordinatecount - the length of the RunLength - 1public int getX()
public int getY()
public int getCount()
public void reset(int y,
int x,
int count)
y - the y coordinatex - the x coordinatecount - the length of the RunLength - 1public int compareTo(RunLength opd)
compareTo 在接口中 Comparable<RunLength>opd - the RunLength to compareCopyright © 2019. All rights reserved.