Class NestedTableEntry<T>
java.lang.Object
org.spongepowered.api.util.weighted.TableEntry<T>
org.spongepowered.api.util.weighted.NestedTableEntry<T>
- Type Parameters:
T- The entry type
Represents a
RandomObjectTable which is nested inside the entry of
another table.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanget(RandomGenerator rand) Retrieves entries from the nested table.Returns the nested tableinthashCode()toString()Methods inherited from class org.spongepowered.api.util.weighted.TableEntry
weight
-
Constructor Details
-
NestedTableEntry
- Parameters:
weight- The weight to apply to the entrytable- The table itself
-
-
Method Details
-
get
Retrieves entries from the nested table.- Parameters:
rand- The random object to use- Returns:
- The retrieved entries
-
getNestedTable
Returns the nested table- Returns:
- The nested table
-
equals
-
hashCode
public int hashCode() -
toString
-