@Override
    public String toString() {
        return "WeightedObject(object=" + this.object + ", weight=" + this.getWeight() + ")";
    }
Represents a {@link Weighted} object.

@param <T> the object type
helper/src/main/java/me/lucko/helper/random/WeightedObject.java