|
RuneHive-Game
|
Represents a weighted object. More...
Public Member Functions | |
| T | get () |
| Gets the representation of the weighted chance. | |
| double | getWeight () |
| Gets the object's weight. | |
| String | toString () |
Represents a weighted object.
Definition at line 8 of file WeightedObject.java.
| T com.runehive.util.chance.WeightedObject< T >.get | ( | ) |
Gets the representation of the weighted chance.
Implemented in com.runehive.util.chance.WeightedChance< T >.
| double com.runehive.util.chance.WeightedObject< T >.getWeight | ( | ) |
Gets the object's weight.
Implemented in com.runehive.util.chance.WeightedChance< T >.
Referenced by com.runehive.util.chance.Chance< T >.Chance(), and com.runehive.util.chance.WeightedChance< T >.compareTo().
| String com.runehive.util.chance.WeightedObject< T >.toString | ( | ) |
Implemented in com.runehive.util.chance.WeightedChance< T >.