public class RandomWeightedSelector<T> extends Object
RandomWeightedSelector()
void
add(double weight, T result)
T
next()
int
size()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public RandomWeightedSelector()
public void add(double weight, T result)
weight
result
public T next()
input
response
public int size()
Copyright © 2014. All rights reserved.