Package at.noahb.utils.generic
Class WeightedElement<T>
java.lang.Object
at.noahb.utils.generic.WeightedElement<T>
- Author:
- Sam (GitHub: Sam's GitHub)
A simple class that is used to hold an object and a weight, used primarily by the WeightedElements class.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WeightedElement
-
-
Method Details
-
getElement
-
getWeight
public double getWeight()
-