swarm-support
[Top][All Lists]
Advanced

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

Re: java indexes


From: Paul E Johnson
Subject: Re: java indexes
Date: Fri, 15 Dec 2000 10:25:22 -0600

"Marcus G. Daniels" wrote:
> MR> Moreover, how can I tell the index to move - for instance - 5
> MR> positions on and report the object?
> 
> setOffset will do that.  Here's an example:
> 
> import swarm.Globals;
> import swarm.collections.Index;
This is now in
http://lark.cc.ukans.edu/~pauljohn/SwarmFaq/WorkingExampleCode/java/TestPermutedIndex.java

This may be naive.  I get the idea from listening to the talk among the
Java Swarm users that one should use the Java collections instead of
Swarm collections, but this capability for random transversal seems
necessary on the Java side.   Is there some comparable Java library or
package that will let me transverse a Java collection in random order?  
-- 
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ukans.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700

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