Hello,

I am looking into porting Java to Free Pascal. I have some confusion about how to port certain types of Java Lang Features.

What is the best way to port 'private static final' member?
I was thinking the extended class syntax would cover this, but I dont it will work for a scenario like this:

 private static final ObjectMapper mapper = new ObjectMapper();

or

 private static final  Set<String> = STATIC_SET;
 static {
 STATIC_SET = new HashSet<String>;
 STATIC_SET.Add("A Value");
 ...
 }

Any insight you may have is appreciated.

Thank you.

--
Regards,
Brian

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to