swarm.collections
Interface PermutedIndex
- public interface PermutedIndex
- extends IndexS, Index
General PermutedIndex class. .
PermutedIndex class may be used for randomized traversals of a collection. Methods implemented offer the same functionality as Index class does, except that traversal is randomized.
Methods inherited from interface swarm.defobj.DefinedObject |
describe,
describeID,
getDisplayName,
getTypeName,
getZone,
perform,
perform$with,
perform$with$with,
perform$with$with$with,
respondsTo,
setDisplayName,
xfprint,
xfprintid,
xprint,
xprintid |
Methods inherited from interface swarm.defobj.Drop |
drop |
reshuffle
public Object reshuffle()
next
public Object next()
- Specified by:
- next in interface Index
prev
public Object prev()
- Specified by:
- prev in interface Index
findNext
public Object findNext(Object anObject)
- Specified by:
- findNext in interface Index
findPrev
public Object findPrev(Object anObject)
- Specified by:
- findPrev in interface Index
get
public Object get()
- Specified by:
- get in interface Index
getLoc
public Symbol getLoc()
- Specified by:
- getLoc in interface Index
setLoc
public void setLoc(Symbol locSymbol)
- Specified by:
- setLoc in interface Index
getOffset
public int getOffset()
- Specified by:
- getOffset in interface Index
setOffset
public Object setOffset(int offset)
- Specified by:
- setOffset in interface Index