public class Chooser.Ref<T> extends java.lang.Object
private java.util.List<T>
items
private java.util.List<Pair<T>>
itemsWithWeight
private Poller<T>
poller
private double[]
weights
Ref(java.util.List<Pair<T>> itemsWithWeight)
boolean
equals(java.lang.Object other)
int
hashCode()
void
refresh()
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
private java.util.List<Pair<T>> itemsWithWeight
private final java.util.List<T> items
private Poller<T> poller
private double[] weights
public Ref(java.util.List<Pair<T>> itemsWithWeight)
public void refresh()
public int hashCode()
hashCode
java.lang.Object
public boolean equals(java.lang.Object other)
equals