public class HNS3To4
extends java.lang.Object
Constructor and Description |
---|
HNS3To4()
Constructs a new converter.
|
Modifier and Type | Method and Description |
---|---|
HNSSign |
convert(HNSSign hns)
Returns a new
HNSSign obtained by converting
the given one from HNS-3 to HNS-4 format. |
static boolean |
IS_RPT(char ch)
Tests whether or not the given character is one of the HNS
repetition symbols.
|
static char |
MOVE_CROSS()
Returns the (obsolete) HNS "hammovecross" symbol.
|
static char |
MOVE_X()
Returns the (obsolete) HNS "hammovex" symbol.
|
static char |
PAR_BEGIN()
Returns the HNS "hamparbegin" symbol.
|
static char |
PAR_END()
Returns the HNS "hamparend" symbol.
|
static char |
PS_END(char ps)
Returns the HNS closing bracket symbol that matches the given
open bracket symbol (hamparbegin or hamseqbegin).
|
static char |
SEQ_BEGIN()
Returns the HNS "hamseqbegin" symbol.
|
static char |
SEQ_END()
Returns the HNS "hamseqend" symbol.
|
public HNSSign convert(HNSSign hns)
HNSSign
obtained by converting
the given one from HNS-3 to HNS-4 format.public static final char MOVE_CROSS()
public static final char MOVE_X()
public static final char PAR_BEGIN()
public static final char SEQ_BEGIN()
public static final char PAR_END()
public static final char SEQ_END()
public static final char PS_END(char ps)
public static final boolean IS_RPT(char ch)