> What is the best way to port 'private static final' member?
private class var (assuming you want to declare a variable).
> private static final Set<String> = STATIC_SET;
static {
STATIC_SET = new HashSet<String>;
STATIC_SET.Add("A Value");
...
}
Static initialization block has no equivalent in Pascal, but since unit have
initialization section, you can initialize it there.
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Questions-About-Porting-Java-and-Extended-Class-Syntax-Features-tp5711825p5711827.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal