Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Store user defined class objects in java collection

281 views
Skip to first unread message

joe

unread,
Aug 1, 2009, 5:06:35 AM8/1/09
to
Hallo,

i have problem by storing user defined matlab class objects in java collection.

col = java.util.ArrayList()
col.add(cFuture('es'))

??? No method 'add' with matching signature found for class 'java.util.ArrayList'.

This method takes java.lang.Object as argument. I try to add matlab handle object.

Is it possible to cast matlab handle object to java.lang.Object? Or some other way to fill java collection with matlab handle classes?

Thanks joe

joe

unread,
Aug 1, 2009, 5:06:37 AM8/1/09
to

joe

unread,
Aug 1, 2009, 5:06:37 AM8/1/09
to

joe

unread,
Aug 1, 2009, 5:06:42 AM8/1/09
to

joe

unread,
Aug 1, 2009, 5:06:43 AM8/1/09
to

joe

unread,
Aug 1, 2009, 5:06:40 AM8/1/09
to

joe

unread,
Aug 1, 2009, 5:06:39 AM8/1/09
to

joe

unread,
Aug 1, 2009, 5:06:39 AM8/1/09
to

joe

unread,
Aug 1, 2009, 5:06:42 AM8/1/09
to

joe

unread,
Aug 1, 2009, 5:06:39 AM8/1/09
to
0 new messages