T
public static class WeightRandom.WeightObj<T> extends Object
private T
obj
private double
weight
WeightObj(T obj, double weight)
boolean
equals(Object obj)
getObj()
double
getWeight()
int
hashCode()
void
setObj(T obj)
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
private T obj
private final double weight
public WeightObj(T obj, double weight)
public T getObj()
public void setObj(T obj)
public double getWeight()
public int hashCode()
hashCode
Object
public boolean equals(Object obj)
equals
Copyright © 2020. All rights reserved.