Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

net.jxta.impl.rendezvous.rpv
Class PeerViewRandomWithReplaceStrategy  view PeerViewRandomWithReplaceStrategy download PeerViewRandomWithReplaceStrategy.java

java.lang.Object
  extended bynet.jxta.impl.rendezvous.rpv.PeerViewRandomWithReplaceStrategy
All Implemented Interfaces:
PeerViewStrategy

class PeerViewRandomWithReplaceStrategy
extends java.lang.Object
implements PeerViewStrategy

Random with replacement


Field Summary
private static java.util.Random random
           
private  java.util.SortedSet set
           
 
Constructor Summary
(package private) PeerViewRandomWithReplaceStrategy(java.util.SortedSet set)
           
 
Method Summary
 PeerViewElement next()
          null
 void reset()
          null
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

random

private static java.util.Random random

set

private java.util.SortedSet set
Constructor Detail

PeerViewRandomWithReplaceStrategy

PeerViewRandomWithReplaceStrategy(java.util.SortedSet set)
Method Detail

reset

public void reset()
null

Specified by:
reset in interface PeerViewStrategy

next

public PeerViewElement next()
null

Specified by:
next in interface PeerViewStrategy