Anyone knows how to translate this piece of Java to Object Pascal?
public class ABC
extends Map<String, Object>
implements IABC {
….
}
I tried (using FGL) the following, which doesn’t compile, since the methods of the Interface are not implemented, which requires descending from TInterfacedObject. It's not possible to put both TInterfacedObject and TXYZ in the descendant list...
type
IABC = interface
…
end;
TXYZ = Specialize TFPGMap<String, TObject>;
TABC = class(TXYZ, IABC)
…
end;
Thanks