public class Position extends Object
ParsePosition
, but
less complex.Constructor and Description |
---|
Position() |
Modifier and Type | Method and Description |
---|---|
void |
assertThat(boolean condition,
String message)
Throws
IllegalStateException if something goes wrong. |
char |
ch(CharSequence s) |
char |
ch(CharSequence s,
int offset) |
void |
die(String message)
Throws
IllegalArgumentException when syntax is incorrect. |
void |
fail(String message)
Throws
IllegalStateException when something is wrong. |
int |
get() |
void |
inc() |
void |
inc(int count) |
void |
set(int index) |
String |
toString() |
public int get()
public void set(int index)
public void inc()
public void inc(int count)
public char ch(CharSequence s)
public char ch(CharSequence s, int offset)
public void die(String message)
IllegalArgumentException
when syntax is incorrect.public void assertThat(boolean condition, String message)
IllegalStateException
if something goes wrong.public void fail(String message)
IllegalStateException
when something is wrong.Copyright © 2015–2022 SciJava. All rights reserved.