swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

My object is not compatible with java/lang/Object


From: Nicolas Garrido
Subject: My object is not compatible with java/lang/Object
Date: Mon, 30 Apr 2001 16:15:31 +0200

Hi,

Why a receive the following message?

*** Error: The type of the left-hand side in this assignment, "Consumer", is
not
 compatible with the type of the right-hand side expression,
"java/lang/Object"

This is the instruction

   Consumer auxCons;
   auxCons = ConsumerGrid.getObjectAtX$Y(this.xnorm(i),this.ynorm(j));

Consumer is

public class Consumer { ... }

and I try with

public class Consumer extends SwarmImpl{ .... }
public class Consumer extends SwarmObjectImpl { ... }


Thanks!!

Nico


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]