swarm-support
[Top][All Lists]
Advanced

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

swarm lib


From: Cindy Chen
Subject: swarm lib
Date: Fri, 24 May 2002 23:20:30 +0000

Hello,

I am Cindy from UCSF.
I have been working on my own simple swarm progams. I am confused in using some swarm lib(Java). I wrote a simple program below (it works if I use only Java lib and Java codes):
----------------------------------------
import swarm.collections.String;
import swarm.collections.StringImpl;

class test
{
        public static void main (String args[])
        {
                test bug=new test();
        }
        public test()
        {
                String s=new StringImpl();
                s.catC("abc");
                }
}
-----------------------------------------
There is no compile error. When running it shows:failed to locate native function swarm/random/uniformintegerDistImpl.getIntegerMin()I. What do I miss out? Each package has 2 parts: interfaces and Implementing Classes. I wonder what *Impl do. Interfaces are classes and within one interface there are some methods. How can I get the interface implemented and use the methods?

Please advice me.
Thanks. I appreciate your help.
Cindy
phone:510-289-3542

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx


                 ==================================
  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]