Class WeightedObject<T>
java.lang.Object
org.spongepowered.api.util.weighted.TableEntry<T>
org.spongepowered.api.util.weighted.WeightedObject<T>
- Type Parameters:
T
- The entry type
- Direct Known Subclasses:
WeightedSerializableObject
An entry which contains an object.
-
Constructor Summary
-
Method Summary
Methods inherited from class org.spongepowered.api.util.weighted.TableEntry
weight
-
Constructor Details
-
WeightedObject
- Parameters:
obj
- The objectweight
- The weight of the object
-
-
Method Details