RuneHive-Game
Loading...
Searching...
No Matches
com.runehive.util.chance.WeightedObject< T > Interface Template Reference

Represents a weighted object. More...

Inheritance diagram for com.runehive.util.chance.WeightedObject< T >:
Collaboration diagram for com.runehive.util.chance.WeightedObject< T >:

Public Member Functions

get ()
 Gets the representation of the weighted chance.
double getWeight ()
 Gets the object's weight.
String toString ()

Detailed Description

Represents a weighted object.

Author
Michael | Chex

Definition at line 8 of file WeightedObject.java.

Member Function Documentation

◆ get()

Gets the representation of the weighted chance.

Implemented in com.runehive.util.chance.WeightedChance< T >.

◆ getWeight()

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().

Here is the caller graph for this function:

◆ toString()


The documentation for this interface was generated from the following file: