ah i see its not possible in cn1, i will write it manually.
On Tuesday, September 25, 2018 at 6:09:07 PM UTC+1, Gareth Murfin wrote:
>
> Does codenameone support the clone interface? im having trouble compiling
> , it says:
> cannot find symbol return super.clone();
>
> I inherit it using
>
>
> public class Branch implements Cloneable{
>
>
> and my method is :
>
> @Override
> public Object clone() throws CloneNotSupportedException {
> return super.clone();
> }
>
>
> I call it using:
>
> (Branch)currentBranch.clone()
>
>
>
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/a3510a53-8d3e-464f-8aeb-9de50581f22f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.