[fpc-pascal] Questions About Porting Java and Extended Class Syntax Features

bsquared bwcode4u at gmail.com
Wed Nov 7 02:30:49 CET 2012


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




More information about the fpc-pascal mailing list