1 9 package j2me.text; 10 11 public class ParsePosition { 13 14 int _index = 0; 15 int _errorIndex = -1; 16 17 public ParsePosition(int index) { 18 } 19 20 public int getIndex() { 21 return _index; 22 } 23 24 public void setIndex(int index) { 25 _index = index; 26 } 27 28 public int getErrorIndex() { 29 return _errorIndex; 30 } 31 32 public void setErrorIndex(int index) { 33 _errorIndex = index; 34 } 35 36 } 37 | Popular Tags |